Andrea Fercia
b5f5dff136
Authentication modal dialog: the spinner should disappear when loading is done.
...
Also, when using spinners as background images, the re-painted area should be the
smallest possible one. See similar performance issue in #33311 .
Fixes #34951 .
Built from https://develop.svn.wordpress.org/trunk@35925
git-svn-id: http://core.svn.wordpress.org/trunk@35889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 16:40:27 +00:00
Andrea Fercia
0faf2dd57b
Accessibility: Remove title attributes from the Network Themes list table.
...
Title attributes in the "Themes" screen and in the "Edit Site" screen Themes tab
are now replaced with `aria-label` attributes. Also, replaces string
concatenation with `add_query_arg()` and `sprintf()` to allow translator
comments to be properly parsed and for better code readability.
Props SergeyBiryukov, afercia.
Fixes #35051 .
Built from https://develop.svn.wordpress.org/trunk@35924
git-svn-id: http://core.svn.wordpress.org/trunk@35888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 16:07:39 +00:00
Sergey Biryukov
d0b7dd489e
I18N: Remove <strong>
tags from translatable strings in WP_Customize_Manager::register_controls()
and WP_Customize_Header_Image_Control::render_content()
.
...
Add translator comments.
See #35039 .
Built from https://develop.svn.wordpress.org/trunk@35923
git-svn-id: http://core.svn.wordpress.org/trunk@35887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 12:54:27 +00:00
Dion Hulse
ca7a95df36
Update random_compat to latest master (~1.1.5)
...
Changes:
* Checks `disable_classes` for `COM()` before using to avoid PHP Warnings
* Uses `stream_set_chunk_size()` to avoid reading 8KiB from `/dev/urandom` unintentionally.
See #34948
Built from https://develop.svn.wordpress.org/trunk@35922
git-svn-id: http://core.svn.wordpress.org/trunk@35886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 07:46:28 +00:00
Sergey Biryukov
36e8fa050f
Docs: Capitalize 'URL' correctly in the_guid()
DocBlock. Fix a typo.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35920
git-svn-id: http://core.svn.wordpress.org/trunk@35884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 05:21:26 +00:00
Dion Hulse
e8b2a769ee
HTTP: Partially revert [34283] which removed the 1024bit certificates from our trust store.
...
Most browsers no longer trust 1024bit certificates, or certificates signed by them, instead verifying them by a trusted intermediate or a cross-sign from another trusted certificate.
Unfortunately, as it turns out, OpenSSL prior to 1.0.1g cannot correctly handle certificates chains such as this, even if one of the intermediates is trusted.
The solution is that we need to continue to trust the 1024bit legacy root certificates forthe foreseeable future
This adds the following certificates back into our trust store:
{{{
GTE CyberTrust Global Root
Thawte Server CA
Thawte Premium Server CA
Verisign Class 3 Public Primary Certification Authority
Verisign Class 3 Public Primary Certification Authority - G2
ValiCert Class 1 VA
ValiCert Class 2 VA
RSA Root Certificate 1
Entrust.net Secure Server CA
Equifax Secure Global eBusiness CA
Equifax Secure eBusiness CA 1
America Online Root Certification Authority 1
America Online Root Certification Authority 2
NetLock Business (Class B) Root
NetLock Express (Class C) Root
Verisign Class 3 Public Primary Certification Authority
}}}
Props rmccue
Fixes #34935 for trunk.
Built from https://develop.svn.wordpress.org/trunk@35919
git-svn-id: http://core.svn.wordpress.org/trunk@35883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 05:20:28 +00:00
John Blackbourn
4836d6c700
Correct the position of the $alt
parameter's @param
doc in image_add_caption()
.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@35918
git-svn-id: http://core.svn.wordpress.org/trunk@35882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 03:01:25 +00:00
Jeremy Felt
72c6868fae
MS: Fix pagination in MS Sites List Table when entering a page number.
...
When a page number is manually entered in the sites list table and no bulk action is selected, add `paged` as a query argument to the redirect.
Fixes #32982 .
Built from https://develop.svn.wordpress.org/trunk@35917
git-svn-id: http://core.svn.wordpress.org/trunk@35881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 02:59:27 +00:00
John Blackbourn
aace0e33c1
Correct some @param
doc names in the WP_Tax_Query
and WP_User_Query
classes.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@35916
git-svn-id: http://core.svn.wordpress.org/trunk@35880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 02:50:27 +00:00
John Blackbourn
3f38dfa688
Correct a parameter name in the @param
docs for get_home_url()
.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@35915
git-svn-id: http://core.svn.wordpress.org/trunk@35879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 02:45:27 +00:00
John Blackbourn
593cc9abbd
Add missing @param
docs to wp_safe_redirect()
and wp_sanitize_redirect()
.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@35914
git-svn-id: http://core.svn.wordpress.org/trunk@35878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 02:43:25 +00:00
John Blackbourn
9f7165d522
Add missing @param
doc to wp_hash()
.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@35913
git-svn-id: http://core.svn.wordpress.org/trunk@35877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 02:39:26 +00:00
John Blackbourn
c2248060fe
Add missing variadic markers to the optional parameters of do_action()
and apply_filters()
.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@35912
git-svn-id: http://core.svn.wordpress.org/trunk@35876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 02:36:25 +00:00
John Blackbourn
2984cdf457
Revert [35910].
...
Built from https://develop.svn.wordpress.org/trunk@35911
git-svn-id: http://core.svn.wordpress.org/trunk@35875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 02:35:26 +00:00
John Blackbourn
de7ccd262a
Built from https://develop.svn.wordpress.org/trunk@35910
...
git-svn-id: http://core.svn.wordpress.org/trunk@35874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 02:33:25 +00:00
John Blackbourn
48380c58a5
Add missing @param
doc to wp_check_password()
and update the check_password
filter docs.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@35909
git-svn-id: http://core.svn.wordpress.org/trunk@35873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 02:30:26 +00:00
John Blackbourn
b2e373d64d
Correct the name of the @param
doc for WP_Query::parse_tax_query()
.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@35908
git-svn-id: http://core.svn.wordpress.org/trunk@35872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 02:08:26 +00:00
John Blackbourn
6bb33fb2f4
Add a missing @param
doc to wp_update_term_count()
.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@35907
git-svn-id: http://core.svn.wordpress.org/trunk@35871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 02:04:26 +00:00
John Blackbourn
e059193943
Remove a redundant @param
tag from the_taxonomies()
.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@35906
git-svn-id: http://core.svn.wordpress.org/trunk@35870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 02:02:27 +00:00
Andrea Fercia
fa80eb011f
Accessibility: remove title attributes from the available headers in the (no more used) custom-header.php
screen.
...
Fixes #35062 .
Built from https://develop.svn.wordpress.org/trunk@35905
git-svn-id: http://core.svn.wordpress.org/trunk@35869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 00:09:27 +00:00
Pascal Birchler
47306630ca
Docs: Improve documentation for format_for_editor()
and the 'the_editor_content'
filter it is hooked to.
...
Props AramZS for initial patch.
Fixes #34866 .
Built from https://develop.svn.wordpress.org/trunk@35904
git-svn-id: http://core.svn.wordpress.org/trunk@35868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-13 19:22:26 +00:00
Sergey Biryukov
d5d5d64e3d
I18N: Use better context for post statuses.
...
See #35054 .
Built from https://develop.svn.wordpress.org/trunk@35903
git-svn-id: http://core.svn.wordpress.org/trunk@35867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-13 19:18:26 +00:00
Sergey Biryukov
fe131bacd1
I18N: Use better context for comment statuses.
...
See #35054 .
Built from https://develop.svn.wordpress.org/trunk@35902
git-svn-id: http://core.svn.wordpress.org/trunk@35866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-13 19:11:26 +00:00
Sergey Biryukov
5b29dbbf09
I18N: Add missing context for 'Trash' strings.
...
Fixes #35054 .
Built from https://develop.svn.wordpress.org/trunk@35901
git-svn-id: http://core.svn.wordpress.org/trunk@35865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-13 19:03:26 +00:00
Sergey Biryukov
34ce39c782
List tables: After [34006], remove unnecessary context from 'View' string, for consistency with other strings in the same context.
...
Props MikeHansenMe, subharanjan.
Fixes #34914 .
Built from https://develop.svn.wordpress.org/trunk@35900
git-svn-id: http://core.svn.wordpress.org/trunk@35864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-13 18:37:26 +00:00
Sergey Biryukov
346cce3c48
Customizer: Change "Display Header Text" checkbox label to "Display Site Title and Tagline", to make it clearer that it affects both settings.
...
Props juanfra, vlad.olaru.
Fixes #31829 .
Built from https://develop.svn.wordpress.org/trunk@35899
git-svn-id: http://core.svn.wordpress.org/trunk@35863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-13 17:50:28 +00:00
Sergey Biryukov
bff39f181e
Credits: After [26354], replace another instance of the "Contributing to WordPress" Codex link with http://make.wordpress.org/ .
...
Remove redundant translator comments, add comments for placeholders instead.
See #25806 .
Built from https://develop.svn.wordpress.org/trunk@35898
git-svn-id: http://core.svn.wordpress.org/trunk@35862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-13 15:24:27 +00:00
Pascal Birchler
2981d66990
Login: After [34213], use the login_post
scheme again for login forms.
...
See #34925 .
Built from https://develop.svn.wordpress.org/trunk@35897
git-svn-id: http://core.svn.wordpress.org/trunk@35861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-13 14:03:26 +00:00
Pascal Birchler
b804b26269
Admin: After [35128], make the 'Configure' link work again for dashboard widgets.
...
See #34987 .
Built from https://develop.svn.wordpress.org/trunk@35896
git-svn-id: http://core.svn.wordpress.org/trunk@35860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-13 13:57:26 +00:00
Sergey Biryukov
8ad27a1405
Docs: Improve documentation for wp_count_terms()
.
...
Props bordoni, swissspidy.
Fixes #34861 .
Built from https://develop.svn.wordpress.org/trunk@35895
git-svn-id: http://core.svn.wordpress.org/trunk@35859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-13 12:11:27 +00:00
Andrea Fercia
188d41b53c
Dashboard: remove not clickable spaces between icons and links in the "At a Glance" panel. Also, some CSS cleanup.
...
Props 5um17 for the initial patch.
Fixes #27813 .
Built from https://develop.svn.wordpress.org/trunk@35894
git-svn-id: http://core.svn.wordpress.org/trunk@35858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-13 12:01:30 +00:00
Jeremy Felt
b24fd73bd0
MS: Update "Add New Site" address description text for accuracy.
...
Add hyphens to the list of allowed characters and add the `description` class to helper text paragraph tag.
Props thomaswm for the initial patch.
Fixes #26388 .
Built from https://develop.svn.wordpress.org/trunk@35893
git-svn-id: http://core.svn.wordpress.org/trunk@35857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-13 03:13:27 +00:00
Mel Choyce
09b5c2b3d0
Customizer: Bold pixel value under Site Icon to match the Custom Header instructions.
...
Props karmatosed.
Fixes #35039 .
Built from https://develop.svn.wordpress.org/trunk@35892
git-svn-id: http://core.svn.wordpress.org/trunk@35856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-13 00:14:27 +00:00
Joe Hoyle
6e27cd7944
Remove accidental .svn addition to .gitignore
...
Introduced in 35890, oops!
Built from https://develop.svn.wordpress.org/trunk@35891
git-svn-id: http://core.svn.wordpress.org/trunk@35855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 18:27:26 +00:00
Joe Hoyle
ee94a28953
REST API: Improve formatting of failed validation errors.
...
If a validation_callback returns a WP_Error it should give the same response format as if it returned `false`. This makes programmatically reading the validation errors better.
Props bradyvercher for initial patch.
Fixes #35028 .
Built from https://develop.svn.wordpress.org/trunk@35890
git-svn-id: http://core.svn.wordpress.org/trunk@35854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 18:23:28 +00:00
Drew Jaynes
c06143270e
Docs: Document the optional $args
parameter in wp_delete_term()
in the hash notation style.
...
Props slushman, swissspidy.
Fixes #34862 .
Built from https://develop.svn.wordpress.org/trunk@35889
git-svn-id: http://core.svn.wordpress.org/trunk@35853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 16:27:27 +00:00
Sergey Biryukov
3f61b6bafa
Docs: Improve documentation for request_filesystem_credentials()
and the corresponding filter.
...
Props swissspidy, danhgilmore, slushman.
Fixes #34858 .
Built from https://develop.svn.wordpress.org/trunk@35888
git-svn-id: http://core.svn.wordpress.org/trunk@35852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 16:16:26 +00:00
Sergey Biryukov
56a31f392b
Docs: Remove @todo
entry from get_archives_link()
, as all optional arguments are now documented.
...
See #34856 .
Built from https://develop.svn.wordpress.org/trunk@35887
git-svn-id: http://core.svn.wordpress.org/trunk@35851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 15:55:27 +00:00
Sergey Biryukov
3da5165287
Docs: Document optional parameters in get_archives_link()
.
...
Props kiranpotphode.
Fixes #34856 .
Built from https://develop.svn.wordpress.org/trunk@35886
git-svn-id: http://core.svn.wordpress.org/trunk@35850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 15:52:27 +00:00
Pascal Birchler
54b8c3e53b
Docs: Fix some minor DocBlock alignment issues.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35885
git-svn-id: http://core.svn.wordpress.org/trunk@35849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 15:37:28 +00:00
Sergey Biryukov
e20fb91e54
I18N: In WP_Locale::init()
, replace space as a thousands separator with a non-breaking space.
...
* If PHP version is 5.4.0 or greater, a regular space as a thousands separator is replaced with a non-breaking space, decoded using the `blog_charset` option.
* If PHP version is 5.2.x or 5.3.x, ` ` or ` ` as a thousands separator is replaced with a regular space, as multiple bytes are not supported there.
Fixes #10373 .
Built from https://develop.svn.wordpress.org/trunk@35884
git-svn-id: http://core.svn.wordpress.org/trunk@35848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 02:06:35 +00:00
Sergey Biryukov
386e788efb
Editor: Move 'Password protected' and 'Private' options description directly after 'Visibility' setting description.
...
Props christophherr.
Fixes #34919 .
Built from https://develop.svn.wordpress.org/trunk@35883
git-svn-id: http://core.svn.wordpress.org/trunk@35847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 01:56:29 +00:00
Sergey Biryukov
f0cdd8d0b4
Docs: Correct wp_debug_mode()
description to clarify that WP_DEBUG_DISPLAY
is true by default.
...
Props jrf.
Fixes #34960 .
Built from https://develop.svn.wordpress.org/trunk@35882
git-svn-id: http://core.svn.wordpress.org/trunk@35846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 01:49:26 +00:00
Sergey Biryukov
d53a13ee87
Fix typo in wp-admin/setup-config.php
.
...
Props obrienlabs.
Fixes #34916 .
Built from https://develop.svn.wordpress.org/trunk@35881
git-svn-id: http://core.svn.wordpress.org/trunk@35845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 01:45:27 +00:00
Sergey Biryukov
89e0d7dc9e
I18N: In wp_maybe_decline_date()
, bail early if translation functions are not available, e.g. in SHORTINIT
mode.
...
Fixes #34967 for trunk.
Built from https://develop.svn.wordpress.org/trunk@35880
git-svn-id: http://core.svn.wordpress.org/trunk@35844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 01:42:38 +00:00
Sergey Biryukov
224d20e99b
Revert [35878].
...
See #34967 .
Built from https://develop.svn.wordpress.org/trunk@35879
git-svn-id: http://core.svn.wordpress.org/trunk@35843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 01:41:34 +00:00
Sergey Biryukov
746c697099
I18N: In wp_maybe_decline_date()
, bail early if translation functions are not available, e.g. in SHORTINIT
mode.
...
Fixes #34967 for trunk.
Built from https://develop.svn.wordpress.org/trunk@35878
git-svn-id: http://core.svn.wordpress.org/trunk@35842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 01:35:35 +00:00
Drew Jaynes
1ae97a2078
Docs: Update the summary for the comment_form_fields
hook docs to explicitly mention inclusion of the textarea element as a filterable element.
...
Previously [35723]
Props bappidgreat.
Fixes #34973 .
Built from https://develop.svn.wordpress.org/trunk@35877
git-svn-id: http://core.svn.wordpress.org/trunk@35841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 01:07:27 +00:00
John Blackbourn
36679a6e89
Avoid a PHP notice when trying to access the post_parent
property of hierarchical post type nav menu items.
...
FIxes #34446
Built from https://develop.svn.wordpress.org/trunk@35876
git-svn-id: http://core.svn.wordpress.org/trunk@35840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-12 01:06:29 +00:00
Andrea Fercia
24afea92c2
When editing terms, properly display an admin notice-warning
when tag_ID
is empty.
...
Also, avoids two related PHP notices when empty or not set (and thus the global `$tag` is a WP_Error object).
Fixes : #34515 .
Built from https://develop.svn.wordpress.org/trunk@35875
git-svn-id: http://core.svn.wordpress.org/trunk@35839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-11 22:49:41 +00:00