Drew Jaynes
96c5ced339
Docs: Add a missing notation for the `$context` parameter in the DocBlock for `_nx_noop()`.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36012 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-18 23:15:50 +00:00
Drew Jaynes
f8fc65acb3
Docs: Fix the syntax for the `get_previous_post_link()` DocBlock to ensure it's read and parsed as such instead of as a multi-line comment.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36011 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-18 23:13:03 +00:00
Drew Jaynes
df5f99d5e3
Docs: Add a missing summary, description, and `@since` version to the DocBlock for `wp_redirect_admin_locations()`.
...
Introduced in [19880].
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36010 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-18 23:07:53 +00:00
Drew Jaynes
cb6348b7ce
Docs: Add a missing notation for the `$bookmark_id` parameter in the DocBlock for `clean_bookmark_cache()`.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36009 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-18 23:00:07 +00:00
Boone Gorges
aa38888d60
Add `current-cat-ancestor` class to ancestor items in `wp_list_categories()`.
...
Pairs nicely with `current-cat-parent`.
Props jrchamp, swisssipdy, ardathksheyna, wonderboymusic.
Fixes #10676 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36008 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-18 18:37:41 +00:00
Aaron Jorbin
3969f2968f
Remove RDIO from oEmbed providers
...
RDIO is shutting down. https://www.rdio.com/farewell/
Props swissspidy
Fixes #35152
git-svn-id: https://develop.svn.wordpress.org/trunk@36007 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-18 18:15:28 +00:00
Boone Gorges
6d9f50febd
Ensure that `wp_list_categories()` supports comma-separated lists for 'exclude' and 'exclude_tree'.
...
[34696] introduced a regression whereby comma-separated values for 'exclude'
and 'exclude_tree' would be handled improperly when merging the two parameters,
resulting in category IDs being incorrectly dropped from the combined array.
Props gblsm, hnle.
Fixes #35156 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36005 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-18 18:11:44 +00:00
Boone Gorges
fdeed90e77
Ensure `get_terms()` results are unique when using 'meta_query'.
...
The introduction of 'meta_query' to `get_terms()` in 4.4 made it possible for
`get_terms()` to erroneously return duplicate results. To address the issue,
we add the `DISTINCT` keyword to the SQL query when a 'meta_query' parameter
has been provided.
Props @jadpm.
Fixes #35137 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36003 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-18 17:43:46 +00:00
Sergey Biryukov
cca910fcbd
Docs: Fix copy/paste error in `wp_remote_retrieve_cookies()` description.
...
Props mark8barnes.
Fixes #35157 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36002 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-18 17:22:52 +00:00
Sergey Biryukov
6c95087f20
Widgets: Add missing closing tag for spinner after [35317].
...
Props rabmalin.
Fixes #35150 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36001 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-18 12:01:56 +00:00
Andrea Fercia
398a2996ae
Accessibility: Remove the title attribute from the Featured Image postbox thumbnail.
...
The title attribute is now replaced with plain text in a `howto` paragraph, as done for example in the Tags postbox.
Adds an `aria-describedby` attribute on the thumbnail link to target the description.
Also, fixes the focus style on the featured image thumbnail.
Fixes #35076 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36000 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 23:43:57 +00:00
Pascal Birchler
e7417c56ce
Editor: Correctly indent definition lists when switching from the visual to the text editor.
...
Props ocean90, katieburch.
Fixes #23299 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35999 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 23:05:09 +00:00
Andrea Fercia
7998e04c48
Accessibility: Remove title attributes from the Link Manager screen.
...
Title attributes are now replaced with `aria-label` where appropriate.
Also fixes some typos in the DocBlocks.
Fixes #35135 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35998 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 22:52:27 +00:00
Pascal Birchler
0162f5534a
Remove unused variables after [35995] and [35996].
...
See #34439 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35997 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 18:40:39 +00:00
Pascal Birchler
a072ac113b
Network Admin: Remove the list of files which will be deleted when deleting a theme.
...
Fixes #34439 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35996 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 18:34:21 +00:00
Pascal Birchler
6d6eb08d8d
Plugins: Remove the list of files which will be deleted when uninstalling a plugin.
...
See #34439 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35995 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 18:30:55 +00:00
Pascal Birchler
ab8cff7827
In `WP::handle_404()`, make sure `$wp_query->post` is a `WP_Post` object before cloning it.
...
Props igmoweb for initial patch.
See #35013 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35994 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 18:12:50 +00:00
Drew Jaynes
203199de6f
Docs: Add missing parameter notations to the DocBlock for `get_author_posts_url()`.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35993 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 17:29:39 +00:00
Drew Jaynes
8fd68ed6ea
Docs: Add a better summary, missing `@since` version, parameter and return descriptions to the DocBlock for `_get_widget_id_base()`.
...
Introduced in [11484].
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35992 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 17:26:28 +00:00
Drew Jaynes
d8174f6046
Docs: Add a missing summary, `@since` version, and parameter descriptions in the DocBlock for `_register_widget_form_callback()`.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35991 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 17:22:40 +00:00
Drew Jaynes
90cee037c2
Docs: Fix syntax for marking parameters optional in the DocBlock for `is_active_widget()`.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35990 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 17:18:53 +00:00
Drew Jaynes
87653e2eb3
Docs: Add a missing summary, `@since` version, and parameter descriptions to the DocBlock for `_register_widget_update_callback()`.
...
Introduced in [10798].
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35989 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 17:15:53 +00:00
Boone Gorges
ad8dc6395c
Better focus in tag cloud tests.
...
We should avoid testing complete markup strings, unless we are specifically
testing for the format of the markup.
Fixes #35138 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35988 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 17:11:07 +00:00
Boone Gorges
5b2a8ed2a0
More focused test for post_type in tag cloud links.
...
We should not be testing the entire tag cloud markup, as it leads to collateral
damage wheneven `wp_generate_tag_cloud()` is touched. See [35984].
See #25566 , #35138 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35987 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 16:55:23 +00:00
Drew Jaynes
b56bcec8cc
Docs: Add missing parameter and return descriptions to the DocBlock for `_wp_get_user_contactmethods()`.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35986 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 16:40:18 +00:00
Drew Jaynes
ae560a7712
Docs: Add a missing summary and `@since` version to the DocBlock for `_maybe_update_core()`.
...
Introduced in [10583].
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35985 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 16:37:25 +00:00
Boone Gorges
22b0cb2029
Introduce 'tag-link-position-x' class to tag cloud links.
...
The new class describes the cardinal position of a link in the cloud, allowing
more fine-grained CSS and JS targeting.
Props Mte90, chmac.
Fixes #5172 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35984 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 16:26:06 +00:00
Andrea Fercia
62abc10870
Accessibility: Improvements for the "Send Trackbacks" postbox.
...
Adds an `aria-describedby` attribute targeting the input field description and styles the description as a... description.
Fixes #35123 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35983 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 23:36:28 +00:00
Drew Jaynes
34bb276504
Docs: Add a missing summary, parameter, and return notations to the DocBlock for `strip_shortcode_tag()`.
...
Introduced in [18952].
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35982 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 23:22:33 +00:00
Drew Jaynes
e635606cc1
Docs: Add a missing notation for the `$args` parameter in the DocBlock for `wp_get_post_revisions()`.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35981 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 23:17:39 +00:00
Drew Jaynes
649644ff00
Docs: Add missing parameter and return notations to the DocBlock for `_wp_sanitize_utf8_in_redirect()`.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35980 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 23:14:12 +00:00
Drew Jaynes
6135b8d055
Docs: Clarify the summary and add missing parameter notations to the DocBlock for `_wp_delete_tax_menu_item()`.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35979 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 23:10:47 +00:00
Sergey Biryukov
72fb826044
Widgets: Remove extra quotes from widget title in `WP_Widget_RSS`, accidentally added in [33814].
...
Props ShinichiN.
Fixes #34978 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@35978 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 22:34:55 +00:00
Andrea Fercia
660608f219
Accessibility: Correctly associate the search input label in the new Themes favorites tab introduced in [35527].
...
Fixes #35122 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35977 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 22:29:38 +00:00
Pascal Birchler
ca529a52fd
Docs: Document the default value for the `$validate` parameter in the `validate_current_theme` hook docs.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35976 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 20:09:58 +00:00
Pascal Birchler
f8909ca7d6
Docs: Clarify the return value for `wp_create_categories()`.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35975 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 19:58:40 +00:00
Pascal Birchler
9dbca6b6c3
Docs: Correct a parameter name for the `press_this_redirect_in_parent` filter.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35974 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 19:42:46 +00:00
Pascal Birchler
505fc319c7
Docs: Correct a parameter name for the `force_filtered_html_on_import` filter.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35973 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 19:39:34 +00:00
Pascal Birchler
b041e9b189
Docs: Correct a parameter name for the `validate_current_theme` filter.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35972 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 19:35:20 +00:00
Pascal Birchler
44f82fcc70
Docs: Correct a parameter name for the `allow_subdirectory_install` filter.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35971 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 19:31:30 +00:00
Pascal Birchler
9a9e2f6a5a
Docs: Correct a parameter name for the `do_mu_upgrade` filter.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35970 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 19:29:12 +00:00
John Blackbourn
4ae4883372
Correct a parameter name for the `allow_password_reset` filter so its entry on developer.wordpress.org displays correctly.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35969 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 19:19:26 +00:00
Drew Jaynes
7a5128c4b0
Docs: Add missing parameter descriptions to the DocBlock for `WP_Query::set_found_posts()`.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35968 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 18:10:59 +00:00
Drew Jaynes
d4b779fd47
Docs: Add a missing summary to the DocBlock for `WP_Locale::rtl_src_admin_notice()`.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35967 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 18:07:29 +00:00
Drew Jaynes
036f50b7d2
Docs: Mark the `upgrade_XX()` functions to be ignored from parsing for the Code Reference.
...
There is no great value in generating reference pages for these funcitons as they explicitly serve a core-only purpose.
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35966 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 17:58:35 +00:00
Drew Jaynes
d8aea7de83
Docs: Add missing DocBlocks, including summaries and `@since` versions, to the `__construct()` and `init()` methods in `WP_Scripts`.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35965 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 17:47:07 +00:00
Drew Jaynes
193c0fe9a2
Docs: Add a missing summary, `@since` version, and parameter descriptions to the DocBlock for `wp_xmlrpc_server::pingback_error()`.
...
Introduced in [23329]. Also corrects return descriptions for two deprecated methods.
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35964 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 17:37:33 +00:00
Drew Jaynes
62d70a58a3
Docs: Add a missing summary, `@since` version, and parameter descriptions to the DocBlock for `wp_xmlrpc_server::add_enclosure_if_new()`.
...
Introduced in [10383].
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35963 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 17:31:10 +00:00
Drew Jaynes
86d78d3975
Docs: Add missing notations for the unused `$args` parameter in the `blogger_getTemplate()` and `blogger_setTemplate()` methods in `wp_xmlrpc_server`.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35962 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 17:25:02 +00:00
Drew Jaynes
7b51c13f17
Docs: Add missing property and method summaries in DocBlocks for `Walker_PageDropdown`.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35961 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 16:35:11 +00:00