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
Drew Jaynes
d057c51893
Docs: Add missing property and method summaries in DocBlocks for `Walker_PageDropdown`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35961
git-svn-id: http://core.svn.wordpress.org/trunk@35926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 16:36:28 +00:00
Dion Hulse
1acedc542f
The `wp-config-sample.php` file is deliberately CRLF to recognise the fact that when it's used, it's likely to be edited on a line-endings unfriendly editor.
...
See [2370] and [5457]
See #28187
git-svn-id: http://core.svn.wordpress.org/trunk@35925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 09:58:26 +00:00
Sergey Biryukov
ae37057114
KSES: Allow the `reversed` attribute for `<ol>`.
...
Props lancewillett.
Fixes #35079 .
Built from https://develop.svn.wordpress.org/trunk@35960
git-svn-id: http://core.svn.wordpress.org/trunk@35924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 09:54:26 +00:00
Sergey Biryukov
6ffc7914f1
I18N: Add a unit test for `before_last_bar()`.
...
Props realloc.
Fixes #35073 .
Built from https://develop.svn.wordpress.org/trunk@35959
git-svn-id: http://core.svn.wordpress.org/trunk@35923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 08:04:26 +00:00
Sergey Biryukov
f9f77d86d8
Accessibility: Add missing label for the theme upload input.
...
See [11152] for plugins.
Props mercime.
Fixes #35113 .
Built from https://develop.svn.wordpress.org/trunk@35958
git-svn-id: http://core.svn.wordpress.org/trunk@35922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 07:56:29 +00:00
Drew Jaynes
fcd35518d9
Docs: Add a missing notation for the `$args` parameter in the DocBlock for `wp_xmlrpc_server::_multisite_getUsersBlogs()`.
...
Also adds a missing `@since` version. The method was introduced in [12852].
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35957
git-svn-id: http://core.svn.wordpress.org/trunk@35921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 05:49:26 +00:00
Drew Jaynes
489023e001
Docs: Add a missing summary and `@since` version to the DocBlock for `wp_xmlrpc_server::serve_request()`.
...
Introduced in [11789].
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35956
git-svn-id: http://core.svn.wordpress.org/trunk@35920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 05:43:26 +00:00
Drew Jaynes
4ced4fce3a
Docs: Add missing summaries and `@since` versions to DocBlocks for the `_get_display_callback()`, `_get_update_callback()`, and `_get_form_callback()` methods in `WP_Widget`.
...
Introduced in [10764].
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35955
git-svn-id: http://core.svn.wordpress.org/trunk@35919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 05:39:25 +00:00
Drew Jaynes
2dda796547
Docs: Add variadic markers to the optional `$object_id` parameter notation for `WP_User::has_cap()`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35954
git-svn-id: http://core.svn.wordpress.org/trunk@35918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 05:32:28 +00:00
Andrea Fercia
c69481a410
Accessibility: Remove title attributes from the Plugin Cards on the Plugin install screen.
...
Fixes #35050 .
Built from https://develop.svn.wordpress.org/trunk@35953
git-svn-id: http://core.svn.wordpress.org/trunk@35917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-15 22:33:28 +00:00
Andrea Fercia
6dac60da98
Accessibility: add missing labels for Plugins and Themes checkboxes in the Updates screen.
...
Also, adds translator comments and improves readability.
Props SergeyBiryukov, afercia, oaron for the initial patch.
Fixes #34774 .
Built from https://develop.svn.wordpress.org/trunk@35952
git-svn-id: http://core.svn.wordpress.org/trunk@35916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-15 22:18:30 +00:00
Sergey Biryukov
c2fcab7d82
I18N: After [35884], remove `html_entity_decode()` for the thousands separator in `WP_Locale::init()`, use the ` ` entity directly.
...
We can't `get_option( 'blog_charset' )` here, because the database may not be available.
Fixes #10373 .
Built from https://develop.svn.wordpress.org/trunk@35951
git-svn-id: http://core.svn.wordpress.org/trunk@35915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-15 21:35:29 +00:00
Dominik Schilling
bc6b11d0de
Revert [35949].
...
Passing an object to `wp_list_pluck()` throws also a fatal error, see https://3v4l.org/9YsaD .
See #35087 .
Built from https://develop.svn.wordpress.org/trunk@35950
git-svn-id: http://core.svn.wordpress.org/trunk@35914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-15 19:50:29 +00:00
Pascal Birchler
ac940d0587
Ensure `wp_list_pluck()` throws a warning when not being passed an array.
...
We should not paper over the code and hide warnings from developers by casting values to an array.
See #35087 .
Built from https://develop.svn.wordpress.org/trunk@35949
git-svn-id: http://core.svn.wordpress.org/trunk@35913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-15 18:29:29 +00:00
Rachel Baker
719239ca1e
Comments: Use an integer as the default value for `comment_post_ID` in `wp_insert_comment` to match database column.
...
Props MikeHansenMe, juanfra, rabmalin.
Fixes #34956
Built from https://develop.svn.wordpress.org/trunk@35948
git-svn-id: http://core.svn.wordpress.org/trunk@35912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-15 15:13:27 +00:00
Andrea Fercia
282e7c36eb
Accessibility: Add an ARIA role `button` to links that behave like buttons when JavaScript is on.
...
Introduces a simple way to give a proper semantics of `button` to links that behave
like UI controls when JavaScript is on and behave like actual links when JavaScript
is off. First implementation on the Terms list table.
Patch prepared during WordCamp US 2015 Contributor Day.
Props mcapybara, garusky, takayukister.
See #26504 .
Fixes #34867 .
Built from https://develop.svn.wordpress.org/trunk@35947
git-svn-id: http://core.svn.wordpress.org/trunk@35911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-15 13:25:28 +00:00