Drew Jaynes
05e0d7c3c3
Docs: Add missing parameter and return descriptions to the DocBlocks for `_wp_object_name_sort_cb()` and `_wp_object_count_sort_cb()`, both `uasort()` callbacks.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@36013
git-svn-id: http://core.svn.wordpress.org/trunk@35978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-18 23:38:26 +00:00
Drew Jaynes
9b89047bf2
Docs: Add a missing notation for the `$context` parameter in the DocBlock for `_nx_noop()`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@36012
git-svn-id: http://core.svn.wordpress.org/trunk@35977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-18 23:16:26 +00:00
Drew Jaynes
13bead9e58
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 .
Built from https://develop.svn.wordpress.org/trunk@36011
git-svn-id: http://core.svn.wordpress.org/trunk@35976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-18 23:14:26 +00:00
Drew Jaynes
f4af7643d8
Docs: Add a missing summary, description, and `@since` version to the DocBlock for `wp_redirect_admin_locations()`.
...
Introduced in [19880].
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@36010
git-svn-id: http://core.svn.wordpress.org/trunk@35975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-18 23:08:26 +00:00
Drew Jaynes
907e0ce6f1
Docs: Add a missing notation for the `$bookmark_id` parameter in the DocBlock for `clean_bookmark_cache()`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@36009
git-svn-id: http://core.svn.wordpress.org/trunk@35974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-18 23:01:28 +00:00
Boone Gorges
31db92d83e
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 .
Built from https://develop.svn.wordpress.org/trunk@36008
git-svn-id: http://core.svn.wordpress.org/trunk@35973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-18 18:38:25 +00:00
Aaron Jorbin
0eaedf734f
Remove RDIO from oEmbed providers
...
RDIO is shutting down. https://www.rdio.com/farewell/
Props swissspidy
Fixes #35152
Built from https://develop.svn.wordpress.org/trunk@36007
git-svn-id: http://core.svn.wordpress.org/trunk@35972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-18 18:16:27 +00:00
Boone Gorges
b2f4f73633
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 .
Built from https://develop.svn.wordpress.org/trunk@36005
git-svn-id: http://core.svn.wordpress.org/trunk@35970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-18 18:12:25 +00:00
Boone Gorges
5d46c03508
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 .
Built from https://develop.svn.wordpress.org/trunk@36003
git-svn-id: http://core.svn.wordpress.org/trunk@35968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-18 17:44:25 +00:00
Sergey Biryukov
3f35196e48
Docs: Fix copy/paste error in `wp_remote_retrieve_cookies()` description.
...
Props mark8barnes.
Fixes #35157 .
Built from https://develop.svn.wordpress.org/trunk@36002
git-svn-id: http://core.svn.wordpress.org/trunk@35967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-18 17:23:29 +00:00
Sergey Biryukov
ff36a54824
Widgets: Add missing closing tag for spinner after [35317].
...
Props rabmalin.
Fixes #35150 .
Built from https://develop.svn.wordpress.org/trunk@36001
git-svn-id: http://core.svn.wordpress.org/trunk@35966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-18 12:02:28 +00:00
Andrea Fercia
6fdd27a1d6
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 .
Built from https://develop.svn.wordpress.org/trunk@36000
git-svn-id: http://core.svn.wordpress.org/trunk@35965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 23:44:26 +00:00
Pascal Birchler
a7e13d0af9
Editor: Correctly indent definition lists when switching from the visual to the text editor.
...
Props ocean90, katieburch.
Fixes #23299 .
Built from https://develop.svn.wordpress.org/trunk@35999
git-svn-id: http://core.svn.wordpress.org/trunk@35964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 23:06:25 +00:00
Andrea Fercia
e8b900d9f5
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 .
Built from https://develop.svn.wordpress.org/trunk@35998
git-svn-id: http://core.svn.wordpress.org/trunk@35963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 22:53:28 +00:00
Pascal Birchler
333bdb535a
Remove unused variables after [35995] and [35996].
...
See #34439 .
Built from https://develop.svn.wordpress.org/trunk@35997
git-svn-id: http://core.svn.wordpress.org/trunk@35962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 18:41:27 +00:00
Pascal Birchler
51bb4db622
Network Admin: Remove the list of files which will be deleted when deleting a theme.
...
Fixes #34439 .
Built from https://develop.svn.wordpress.org/trunk@35996
git-svn-id: http://core.svn.wordpress.org/trunk@35961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 18:35:26 +00:00
Pascal Birchler
740d197731
Plugins: Remove the list of files which will be deleted when uninstalling a plugin.
...
See #34439 .
Built from https://develop.svn.wordpress.org/trunk@35995
git-svn-id: http://core.svn.wordpress.org/trunk@35960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 18:31:27 +00:00
Pascal Birchler
7b6c596e92
In `WP::handle_404()`, make sure `$wp_query->post` is a `WP_Post` object before cloning it.
...
Props igmoweb for initial patch.
See #35013 .
Built from https://develop.svn.wordpress.org/trunk@35994
git-svn-id: http://core.svn.wordpress.org/trunk@35959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 18:13:29 +00:00
Drew Jaynes
9572878fab
Docs: Add missing parameter notations to the DocBlock for `get_author_posts_url()`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35993
git-svn-id: http://core.svn.wordpress.org/trunk@35958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 17:30:43 +00:00
Drew Jaynes
76cc768e90
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 .
Built from https://develop.svn.wordpress.org/trunk@35992
git-svn-id: http://core.svn.wordpress.org/trunk@35957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 17:27:28 +00:00
Drew Jaynes
94575687b9
Docs: Add a missing summary, `@since` version, and parameter descriptions in the DocBlock for `_register_widget_form_callback()`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35991
git-svn-id: http://core.svn.wordpress.org/trunk@35956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 17:23:26 +00:00
Drew Jaynes
c13824b1c0
Docs: Fix syntax for marking parameters optional in the DocBlock for `is_active_widget()`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35990
git-svn-id: http://core.svn.wordpress.org/trunk@35955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 17:19:26 +00:00
Drew Jaynes
9de8a1466a
Docs: Add a missing summary, `@since` version, and parameter descriptions to the DocBlock for `_register_widget_update_callback()`.
...
Introduced in [10798].
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35989
git-svn-id: http://core.svn.wordpress.org/trunk@35954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 17:16:26 +00:00
Boone Gorges
6d4bc4d88e
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 .
Built from https://develop.svn.wordpress.org/trunk@35988
git-svn-id: http://core.svn.wordpress.org/trunk@35953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 17:12:30 +00:00
Boone Gorges
61679499b1
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 .
Built from https://develop.svn.wordpress.org/trunk@35987
git-svn-id: http://core.svn.wordpress.org/trunk@35952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 16:56:26 +00:00
Drew Jaynes
28412d2ef2
Docs: Add missing parameter and return descriptions to the DocBlock for `_wp_get_user_contactmethods()`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35986
git-svn-id: http://core.svn.wordpress.org/trunk@35951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 16:41:27 +00:00
Drew Jaynes
b6281e857f
Docs: Add a missing summary and `@since` version to the DocBlock for `_maybe_update_core()`.
...
Introduced in [10583].
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35985
git-svn-id: http://core.svn.wordpress.org/trunk@35950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 16:38:26 +00:00
Boone Gorges
20651de171
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 .
Built from https://develop.svn.wordpress.org/trunk@35984
git-svn-id: http://core.svn.wordpress.org/trunk@35949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 16:27:28 +00:00
Andrea Fercia
2cc4ca6875
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 .
Built from https://develop.svn.wordpress.org/trunk@35983
git-svn-id: http://core.svn.wordpress.org/trunk@35948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 23:37:26 +00:00
Drew Jaynes
d5a9811f02
Docs: Add a missing summary, parameter, and return notations to the DocBlock for `strip_shortcode_tag()`.
...
Introduced in [18952].
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35982
git-svn-id: http://core.svn.wordpress.org/trunk@35947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 23:23:26 +00:00
Drew Jaynes
81abb11839
Docs: Add a missing notation for the `$args` parameter in the DocBlock for `wp_get_post_revisions()`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35981
git-svn-id: http://core.svn.wordpress.org/trunk@35946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 23:18:26 +00:00
Drew Jaynes
7b19006ce1
Docs: Add missing parameter and return notations to the DocBlock for `_wp_sanitize_utf8_in_redirect()`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35980
git-svn-id: http://core.svn.wordpress.org/trunk@35945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 23:15:27 +00:00
Drew Jaynes
bc4a65a036
Docs: Clarify the summary and add missing parameter notations to the DocBlock for `_wp_delete_tax_menu_item()`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35979
git-svn-id: http://core.svn.wordpress.org/trunk@35944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 23:11:25 +00:00
Sergey Biryukov
20d779ea8c
Widgets: Remove extra quotes from widget title in `WP_Widget_RSS`, accidentally added in [33814].
...
Props ShinichiN.
Fixes #34978 for trunk.
Built from https://develop.svn.wordpress.org/trunk@35978
git-svn-id: http://core.svn.wordpress.org/trunk@35943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 22:35:27 +00:00
Andrea Fercia
f83c787887
Accessibility: Correctly associate the search input label in the new Themes favorites tab introduced in [35527].
...
Fixes #35122 .
Built from https://develop.svn.wordpress.org/trunk@35977
git-svn-id: http://core.svn.wordpress.org/trunk@35942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 22:30:27 +00:00
Pascal Birchler
fa9b71e423
Docs: Document the default value for the `$validate` parameter in the `validate_current_theme` hook docs.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35976
git-svn-id: http://core.svn.wordpress.org/trunk@35941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 20:10:25 +00:00
Pascal Birchler
b6c660c38f
Docs: Clarify the return value for `wp_create_categories()`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35975
git-svn-id: http://core.svn.wordpress.org/trunk@35940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 19:59:27 +00:00
Pascal Birchler
1b86ccd006
Docs: Correct a parameter name for the `press_this_redirect_in_parent` filter.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35974
git-svn-id: http://core.svn.wordpress.org/trunk@35939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 19:43:26 +00:00
Pascal Birchler
624cb1445d
Docs: Correct a parameter name for the `force_filtered_html_on_import` filter.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35973
git-svn-id: http://core.svn.wordpress.org/trunk@35938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 19:40:26 +00:00
Pascal Birchler
4e6e728703
Docs: Correct a parameter name for the `validate_current_theme` filter.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35972
git-svn-id: http://core.svn.wordpress.org/trunk@35937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 19:36:28 +00:00
Pascal Birchler
4a6d77c8e5
Docs: Correct a parameter name for the `allow_subdirectory_install` filter.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35971
git-svn-id: http://core.svn.wordpress.org/trunk@35936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 19:32:26 +00:00
Pascal Birchler
2e35e20010
Docs: Correct a parameter name for the `do_mu_upgrade` filter.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35970
git-svn-id: http://core.svn.wordpress.org/trunk@35935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 19:30:28 +00:00
John Blackbourn
26dfc6159f
Correct a parameter name for the `allow_password_reset` filter so its entry on developer.wordpress.org displays correctly.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@35969
git-svn-id: http://core.svn.wordpress.org/trunk@35934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 19:20:26 +00:00
Drew Jaynes
3cba9d7f61
Docs: Add missing parameter descriptions to the DocBlock for `WP_Query::set_found_posts()`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35968
git-svn-id: http://core.svn.wordpress.org/trunk@35933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 18:11:26 +00:00
Drew Jaynes
ee0335e930
Docs: Add a missing summary to the DocBlock for `WP_Locale::rtl_src_admin_notice()`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35967
git-svn-id: http://core.svn.wordpress.org/trunk@35932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 18:08:26 +00:00
Drew Jaynes
c9a11ae9f2
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 .
Built from https://develop.svn.wordpress.org/trunk@35966
git-svn-id: http://core.svn.wordpress.org/trunk@35931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 17:59:27 +00:00
Drew Jaynes
36367e7f6e
Docs: Add missing DocBlocks, including summaries and `@since` versions, to the `__construct()` and `init()` methods in `WP_Scripts`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35965
git-svn-id: http://core.svn.wordpress.org/trunk@35930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 17:48:27 +00:00
Drew Jaynes
25eca6974e
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 .
Built from https://develop.svn.wordpress.org/trunk@35964
git-svn-id: http://core.svn.wordpress.org/trunk@35929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 17:38:27 +00:00
Drew Jaynes
7614bd71d3
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 .
Built from https://develop.svn.wordpress.org/trunk@35963
git-svn-id: http://core.svn.wordpress.org/trunk@35928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 17:32:28 +00:00
Drew Jaynes
92dd7b7447
Docs: Add missing notations for the unused `$args` parameter in the `blogger_getTemplate()` and `blogger_setTemplate()` methods in `wp_xmlrpc_server`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35962
git-svn-id: http://core.svn.wordpress.org/trunk@35927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 17:26:28 +00:00