John Blackbourn
860aa2dd98
Add missing `@param` docs to `wp_safe_redirect()` and `wp_sanitize_redirect()`.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35914 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:42:29 +00:00
John Blackbourn
cb068034ee
Add missing `@param` doc to `wp_hash()`.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35913 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:38:10 +00:00
John Blackbourn
f4c5b65138
Add missing variadic markers to the optional parameters of `do_action()` and `apply_filters()`.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35912 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:35:29 +00:00
John Blackbourn
823c734524
Revert [35910].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@35911 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:34:42 +00:00
John Blackbourn
70d44588ce
git-svn-id: https://develop.svn.wordpress.org/trunk@35910 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:32:04 +00:00
John Blackbourn
a8ee60eebc
Add missing `@param` doc to `wp_check_password()` and update the `check_password` filter docs.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35909 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:29:04 +00:00
John Blackbourn
69c27ec4fc
Correct the name of the `@param` doc for `WP_Query::parse_tax_query()`.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35908 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:07:14 +00:00
John Blackbourn
29b1f4484e
Add a missing `@param` doc to `wp_update_term_count()`.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35907 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:03:21 +00:00
John Blackbourn
bc4e0a1c4e
Remove a redundant `@param` tag from `the_taxonomies()`.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35906 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:01:43 +00:00
Andrea Fercia
a366c4fde3
Accessibility: remove title attributes from the available headers in the (no more used) `custom-header.php` screen.
...
Fixes #35062 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35905 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 00:08:24 +00:00
Pascal Birchler
94da64bff3
Docs: Improve documentation for `format_for_editor()` and the `'the_editor_content'` filter it is hooked to.
...
Props AramZS for initial patch.
Fixes #34866 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35904 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 19:21:32 +00:00
Sergey Biryukov
81a9fe9c09
I18N: Use better context for post statuses.
...
See #35054 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35903 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 19:17:10 +00:00
Sergey Biryukov
4e130ed78f
I18N: Use better context for comment statuses.
...
See #35054 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35902 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 19:10:04 +00:00
Sergey Biryukov
3068a5b333
I18N: Add missing context for 'Trash' strings.
...
Fixes #35054 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35901 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 19:02:30 +00:00
Sergey Biryukov
f5d2251f50
List tables: After [34006], remove unnecessary context from 'View' string, for consistency with other strings in the same context.
...
Props MikeHansenMe, subharanjan.
Fixes #34914 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35900 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 18:36:22 +00:00
Sergey Biryukov
b0f06b48aa
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35899 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 17:49:51 +00:00
Sergey Biryukov
94005d9402
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35898 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 15:23:54 +00:00
Pascal Birchler
5d302ca4d2
Login: After [34213], use the `login_post` scheme again for login forms.
...
See #34925 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35897 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 14:02:04 +00:00
Pascal Birchler
d0ef84ea8c
Admin: After [35128], make the 'Configure' link work again for dashboard widgets.
...
See #34987 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35896 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 13:56:49 +00:00
Sergey Biryukov
5cae9f6aba
Docs: Improve documentation for `wp_count_terms()`.
...
Props bordoni, swissspidy.
Fixes #34861 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35895 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 12:10:26 +00:00
Andrea Fercia
6e3838503c
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35894 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 12:00:12 +00:00
Jeremy Felt
03310b2e22
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35893 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 03:12:11 +00:00
Mel Choyce
e9b376bfe4
Customizer: Bold pixel value under Site Icon to match the Custom Header instructions.
...
Props karmatosed.
Fixes #35039 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35892 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 00:13:12 +00:00
Joe Hoyle
03f3276797
Remove accidental .svn addition to .gitignore
...
Introduced in 35890, oops!
git-svn-id: https://develop.svn.wordpress.org/trunk@35891 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 18:26:22 +00:00
Joe Hoyle
a375d93001
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35890 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 18:22:02 +00:00
Drew Jaynes
cca457a958
Docs: Document the optional `$args` parameter in `wp_delete_term()` in the hash notation style.
...
Props slushman, swissspidy.
Fixes #34862 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35889 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 16:26:42 +00:00
Sergey Biryukov
ddf45b0142
Docs: Improve documentation for `request_filesystem_credentials()` and the corresponding filter.
...
Props swissspidy, danhgilmore, slushman.
Fixes #34858 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35888 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 16:15:07 +00:00
Sergey Biryukov
7dbca374a6
Docs: Remove `@todo` entry from `get_archives_link()`, as all optional arguments are now documented.
...
See #34856 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35887 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 15:54:11 +00:00
Sergey Biryukov
9689976129
Docs: Document optional parameters in `get_archives_link()`.
...
Props kiranpotphode.
Fixes #34856 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35886 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 15:51:57 +00:00
Pascal Birchler
4e58589669
Docs: Fix some minor DocBlock alignment issues.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35885 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 15:36:36 +00:00
Sergey Biryukov
fd30730949
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35884 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 02:05:37 +00:00
Sergey Biryukov
2bfa87c2df
Editor: Move 'Password protected' and 'Private' options description directly after 'Visibility' setting description.
...
Props christophherr.
Fixes #34919 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35883 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:55:07 +00:00
Sergey Biryukov
c81f71b550
Docs: Correct `wp_debug_mode()` description to clarify that `WP_DEBUG_DISPLAY` is true by default.
...
Props jrf.
Fixes #34960 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35882 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:48:41 +00:00
Sergey Biryukov
e7287de7f3
Fix typo in `wp-admin/setup-config.php`.
...
Props obrienlabs.
Fixes #34916 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35881 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:44:56 +00:00
Sergey Biryukov
bbce167f29
I18N: In `wp_maybe_decline_date()`, bail early if translation functions are not available, e.g. in `SHORTINIT` mode.
...
Fixes #34967 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@35880 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:41:24 +00:00
Sergey Biryukov
d1b6832295
Revert [35878].
...
See #34967 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35879 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:40:06 +00:00
Sergey Biryukov
27f35b5675
I18N: In `wp_maybe_decline_date()`, bail early if translation functions are not available, e.g. in `SHORTINIT` mode.
...
Fixes #34967 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@35878 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:34:33 +00:00
Drew Jaynes
7493d90f96
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35877 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:06:03 +00:00
John Blackbourn
9c354378ff
Avoid a PHP notice when trying to access the `post_parent` property of hierarchical post type nav menu items.
...
FIxes #34446
git-svn-id: https://develop.svn.wordpress.org/trunk@35876 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:05:27 +00:00
Andrea Fercia
4dfb95179a
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35875 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 22:48:49 +00:00
Pascal Birchler
5a445d7515
Admin Menu: Deprecate `add_object_page()` and `add_utility_page()`.
...
These functions are not used in core and are just wrappers for `add_menu_page()`.
Fixes #23108 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35874 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 22:11:03 +00:00
Pascal Birchler
64b89c09f0
Dashboard: Do not show "Search Engines Discouraged" text when the `blog_public` option is not set.
...
Search engines are only discouraged from indexing the site when the option is explicitly set to `0`.
Fixes #34860 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35873 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 22:02:27 +00:00
johnbillion
3348774d3a
Ensure that all the capabilities that any users have are being tested. This ensures that if new capabilities are introduced in the future, tests will be required for them.
...
See #35024
git-svn-id: https://develop.svn.wordpress.org/trunk@35872 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 21:59:01 +00:00
John Blackbourn
a7f713f45d
Introduce tests for the `unfiltered_upload` capability, which no user should have (unless the `ALLOW_UNFILTERED_UPLOADS` constant is defined).
...
See #35024
git-svn-id: https://develop.svn.wordpress.org/trunk@35871 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 21:54:05 +00:00
Pascal Birchler
410aa27b1d
Passwords: Hide weak password confirmation checkbox when password strength improves.
...
Props subharanjan for initial patch.
Fixes #34950 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35870 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 21:53:29 +00:00
John Blackbourn
eaa8863723
Correct the hash notation documentation introduced in [34891].
...
See #32147
git-svn-id: https://develop.svn.wordpress.org/trunk@35869 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 20:15:54 +00:00
Drew Jaynes
91f343c461
Docs: Remove indentation from a wrapped line in the DocBlock description for `get_post_type_labels()` to prevent incorrect formatting when parsed.
...
With the false indentation in place, the parser for the Code Reference incorrectly interprets it as a block quote.
Fixes #35019 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35868 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 18:41:37 +00:00
Sergey Biryukov
e01a52e878
Post Template: Pass the post ID to `the_guid` and `get_the_guid` filters.
...
Props danielbachhuber for initial patch.
Fixes #35015 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35867 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 16:38:15 +00:00
Andrea Fercia
d0da333cf0
Accessibility: on the Updates screen, remove a redundant title attribute.
...
Removes the title attribute from the Plugin details link and adds the Plugin name hidden with `screen-reader-text` within the link text.
Props Cheffheid.
Fixes #35001 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35866 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 16:31:06 +00:00
Drew Jaynes
fb5997f206
Administration: Improve the message displayed in the login form modal when a user's session has expired.
...
Props obrienlabs.
Fixes #34340 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35865 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 16:00:36 +00:00