Commit Graph

9555 Commits

Author SHA1 Message Date
Weston Ruter e5707af429 Customizer: Call `_doing_it_wrong()` if `widgets` or `nav_menus` are manually removed via `WP_Customize_Manager::remove_panel()`.
Advise that the `customize_loaded_components` filter should be used instead.

Props voldemortensen.
See #33552.
Fixes #35242.


git-svn-id: https://develop.svn.wordpress.org/trunk@36216 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-07 06:05:07 +00:00
Boone Gorges e49c8b425c Allow comment agent and author IP to be set via `wp_update_comment()`.
Props adamsilverstein, welcher.
Fixes #35276.

git-svn-id: https://develop.svn.wordpress.org/trunk@36215 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-07 03:54:05 +00:00
Boone Gorges 3a9bc32949 Ensure 'description' is a string in `wp_insert_term()`.
Passing `'description' => null` when creating a term can cause MySQL notices,
as the description column in the terms table does not allow for null values.
We correct this by intepreting a `null` description as an empty string.

Props TimothyBlynJacobs.
Fixes #35321.

git-svn-id: https://develop.svn.wordpress.org/trunk@36214 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-07 03:31:48 +00:00
Konstantin Obenland c67abd1c66 Plugins: Avoid ID attribute collisions in plugins list table.
Removes id attributes with non-unique plugin slug and adds a data attribute
with the unique plugin file.

Props khag7.
Fixes #18974.



git-svn-id: https://develop.svn.wordpress.org/trunk@36205 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-06 22:39:23 +00:00
Konstantin Obenland 58b35571bb Themes: Avoid changing the count of themes with updates in network admin.
Makes the count bubble selector a little more specific to avoid interfering
with the admin menu, but not too specific for installed theme searches not to
update the bubble.

See [29786], [31495].
Fixes #35332.



git-svn-id: https://develop.svn.wordpress.org/trunk@36204 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-06 22:31:46 +00:00
Aaron Jorbin 9e91f753f8 Theme: Escape error messages
git-svn-id: https://develop.svn.wordpress.org/trunk@36185 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-06 17:22:08 +00:00
Dion Hulse 3e85247571 Updates: Don't perform an API call to WordPress.org for every plugin update displayed. The API has been updated to return this information with the update response.
See #35301


git-svn-id: https://develop.svn.wordpress.org/trunk@36182 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-06 07:52:53 +00:00
Pascal Birchler e055e5b80e Rewrite: Add a `remove_permastruct()` helper function.
It can be used to remove permastructs that were added using `add_permastruct()`.

Fixes #35235.

git-svn-id: https://develop.svn.wordpress.org/trunk@36181 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-06 07:39:29 +00:00
Dion Hulse ce4ef49b10 Background Updates: Remove the 7am/7pm background update check. This check was made redundant by [28129] as background updates are now run after a version check takes place.
See #27772, #35323.


git-svn-id: https://develop.svn.wordpress.org/trunk@36180 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-06 06:11:46 +00:00
Dominik Schilling (ocean90) cd6cc5c7db Bundled Themes: Bump version number of Twenty Thirteen.
Props davidakennedy.
Fixes #35319.

git-svn-id: https://develop.svn.wordpress.org/trunk@36179 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-05 22:19:41 +00:00
Dominik Schilling (ocean90) 36cf8b2932 Install: Use new colors for error notices.
Props duaneblake, DBrumbaugh10Up.
Fixes #34704.

git-svn-id: https://develop.svn.wordpress.org/trunk@36178 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-05 21:46:29 +00:00
Pascal Birchler e50296de48 Query: Add a `WP::remove_query_var()` helper function.
This makes cleaning up public query vars easier.

Fixes #35234.

git-svn-id: https://develop.svn.wordpress.org/trunk@36177 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-05 20:56:10 +00:00
Dominik Schilling (ocean90) e306e801a9 Install: Only enqueue scripts when necessary.
Props flixos90 for initial patch.
Fixes #34700.

git-svn-id: https://develop.svn.wordpress.org/trunk@36176 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-05 16:41:43 +00:00
Dominik Schilling (ocean90) 9d45966095 Docs: Move the hook doc for the `the_title` filter in `Walker_Page::start_el()` to directly precede the `apply_filters()` line.
See #32246.

git-svn-id: https://develop.svn.wordpress.org/trunk@36175 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-05 16:34:25 +00:00
Dominik Schilling (ocean90) 3f5fab4a0e Nav Menus: Apply the `the_title` filter on original post titles in `wp_setup_nav_menu_item()`.
The filter is already used in `Walker_Nav_Menu_Checklist` and `Walker_Nav_Menu_Edit`. This ensures that titles are consistent across the admin and front end.

Fixes #35317.

git-svn-id: https://develop.svn.wordpress.org/trunk@36174 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-05 16:26:53 +00:00
Rachel Baker 693a5b793f Comments: Remove orphaned closing `td` tag within cancel button of Moderate Comment screen.
Left behind in r31641. See #23988.

Props ash.matadeen.


git-svn-id: https://develop.svn.wordpress.org/trunk@36173 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-05 16:06:54 +00:00
Andrea Fercia 0eba218570 Accessibility: Remove title attributes from the Admin Dashboard.
Uses `aria-label` and `screen-reader-text` where appropriate. Also removes
the default title attribute output by `privacy_on_link_title`, preserving
the ability to use the filter.

Fixes #35049.

git-svn-id: https://develop.svn.wordpress.org/trunk@36172 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-05 14:18:57 +00:00
Andrea Fercia 3a9259a4c4 Introduce a new generic CSS clearfix utility class.
`.wp-clearfix` is now the recommended way to clear and contain floated elements.
Adds back compatibility for the `.nav-tab-wrapper` navigation tabs.

See #26396.

git-svn-id: https://develop.svn.wordpress.org/trunk@36171 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-05 13:37:56 +00:00
Konstantin Obenland 0d6514b28b Template: Always display the site title on the front page.
Limits using the page title to the blog page when the site has a static front page,
bringing it N’Sync with `wp_title()`.

Props peterwilsoncc.
Fixes #34962.



git-svn-id: https://develop.svn.wordpress.org/trunk@36168 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-04 17:15:31 +00:00
Andrew Ozz f891bb32f2 Media: when inserting an attachment in the editor and it is not an image, ensure the link is set to something else than `none`.
Props eherman24, azaozz.
Fizes #35153 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@36166 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-04 00:32:56 +00:00
Andrew Nacin 5699c64a56 XML-RPC: Revert [34681] as it broke date handling.
props dossy, hnle, redsweater.
see #35053, #30429 (original ticket).


git-svn-id: https://develop.svn.wordpress.org/trunk@36163 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-03 19:48:07 +00:00
Andrea Fercia a12087bf0f Media: set the image editor spinner on the smallest possible area.
When using spinners as background images, the re-painted area should be the smallest
possible one. See similar performance issue in #31196, #33311, #33322, and #34951.

Fixes #35296.

git-svn-id: https://develop.svn.wordpress.org/trunk@36162 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-03 16:48:47 +00:00
Gary Pendergast 59d442f921 Emoji: Add a test to the emoji loader, to see if the browser supports emoji diversity. If it doesn't, fall back to twemoji.
See #33592.



git-svn-id: https://develop.svn.wordpress.org/trunk@36160 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-03 04:25:52 +00:00
Boone Gorges 1b8c0d611a Ensure that non-default pagination values work in `wp_list_comments()`.
Prior to 4.4, it was possible to pass 'page' and 'per_page' values to
`wp_list_comments()` that do not match the corresponding global query vars.
This ability was lost in 4.4 with the refactor of how `comments_template()`
queries for comments; when the main comment query started fetching only the
comments that ought to appear on a page, instead of all of a post's comments,
it became impossible for the comment walker to select comments corresponding to
custom pagination parameters. See #8071.

We restore the previous behavior by (a) detecting when a 'page' or 'per_page'
parameter has been passed to `wp_list_comments()` that does not match the
corresponding query vars (so that the desired comments will not be found in
`$wp_query`), and if so, then (b) querying for all of the post's comments and
passing them to the comment walker for pagination, as was the case before 4.4.

Props boonebgorges, smerriman.
Fixes #35175.

git-svn-id: https://develop.svn.wordpress.org/trunk@36157 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-03 02:02:59 +00:00
Dominik Schilling (ocean90) d47319710c Docs: Remove indentation from the `hidden_columns` changelog entry.
Added in [36154].

See #35057.

git-svn-id: https://develop.svn.wordpress.org/trunk@36156 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-02 15:15:53 +00:00
Dion Hulse 84cb626eb6 List Tables: When a user has hidden all columns, do not override that with the `default_hidden_columns` filter.
Props Compute, jorbin, voldemortensen.
Fixes #35057


git-svn-id: https://develop.svn.wordpress.org/trunk@36154 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-02 04:43:07 +00:00
Sergey Biryukov c7e1a2ee6d Docs: Correct `get_page_uri()` description.
Props ericlewis.
Fixes #35165.

git-svn-id: https://develop.svn.wordpress.org/trunk@36143 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-01 18:28:17 +00:00
Andrea Fercia fa39accb99 Accessibility: Don't mark up "URL" as an abbreviation.
"URL" has essentially entered language as a self-contained concept, there's
no more need to expand it with an `<abbr>` element and a title attribute.

Fixes #35174.

git-svn-id: https://develop.svn.wordpress.org/trunk@36142 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-01 12:10:00 +00:00
Gary Pendergast cebe17e35b Bump the `license.txt` year to 2016.
Happy New Year, all y'all!


git-svn-id: https://develop.svn.wordpress.org/trunk@36141 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-01 09:59:14 +00:00
Sergey Biryukov 85120aa0a1 Export: Add a missing Oxford comma.
Props juhise.
Fixes #35275.

git-svn-id: https://develop.svn.wordpress.org/trunk@36140 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-31 19:32:06 +00:00
Rachel Baker ea9451bd1c Docs: Add null to `post_id` param type, fix syntax, and descriptions in the DocBlock for `wp_update_comment_count()`.
See #32246.



git-svn-id: https://develop.svn.wordpress.org/trunk@36139 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-31 19:20:21 +00:00
Rachel Baker 21a4585cd1 Feeds: Comments on attachments display in the site-wide comments RSS feed.
Individual attachment pages already have their own RSS comment feed, and would be expected to be included in the site-wide comments RSS feed.

Props jbrinley. 
Fixes #15610



git-svn-id: https://develop.svn.wordpress.org/trunk@36138 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-31 17:15:23 +00:00
Andrea Fercia 93e3093a0a Admin: Restore the "Show advanced menu properties" checkboxes IDs.
These checkboxes are used on the Menus screen options and the Customizer Menus options.
Their IDs were removed in [34991] but they're needed to get the checkboxes to be saved
via AJAX. Also, avoids a useless AJAX call.

Fixes #35112 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@36137 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-31 11:51:09 +00:00
Pascal Birchler 7ce16f660e Twenty Thirteen: Add missing loop in the image attachment template.
Props vtieu.
Fixes #35110.

git-svn-id: https://develop.svn.wordpress.org/trunk@36136 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-31 11:38:43 +00:00
Pascal Birchler b62421681e Docs: Improve readability of the default arguments of `wp_list_categories()`.
Adds missing documentation for the `separator` argument introduced in [35140].

Props birgire for initial patch.
Fixes #34751.

git-svn-id: https://develop.svn.wordpress.org/trunk@36135 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-31 11:29:19 +00:00
Andrea Fercia b2b14848d6 Admin: fix repositioning of notices when the first header is not an immediate children of `.wrap`.
Props DvanKooten for the initial patch.
Fixes #35047 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@36134 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-31 11:04:38 +00:00
Dion Hulse a1b31b59c4 XMLRPC: Revert [35509] which caused a change of behviour in at least one XMLRPC client.
XMLRPC has many quirks in it's operation, #16980 being just one of the many, #35185 just became yet another quirk.

See #16980.
Fixes #35185.


git-svn-id: https://develop.svn.wordpress.org/trunk@36132 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-31 04:05:22 +00:00
Sergey Biryukov c04ae32ff9 Widgets: Revert [34465], as it introduced a regression, making the `$index` argument of `dynamic_sidebar()` case-sensitive.
Fixes #34995 for trunk. See #23423.

git-svn-id: https://develop.svn.wordpress.org/trunk@36130 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-31 03:12:36 +00:00
Gary Pendergast a9dcce7060 Redirects: Prevent redirects if a queried object exists.
After [34659], it became possible to cause an incorrect redirect, by changing the slug of a post, then creating a new post with the old slug. The correct behaviour is to prevent redirecting to the old post.

Props dd32, pento.

Fixes #35031 for trunk.



git-svn-id: https://develop.svn.wordpress.org/trunk@36128 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-31 03:00:33 +00:00
Sergey Biryukov cf82d2ef2b Query: Remove a stray debug line from `WP_Query::get_posts()`.
Props dlh.
Fixes #35271.

git-svn-id: https://develop.svn.wordpress.org/trunk@36127 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-31 02:22:26 +00:00
Gary Pendergast 873326b7eb Emoji: Update emoji support to Unicode 8.0, including the Diversity set.
Fixes #33592.



git-svn-id: https://develop.svn.wordpress.org/trunk@36126 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-31 01:29:12 +00:00
Pascal Birchler aae9afe5aa Comments: Don't nofollow links within the site.
Fixes #11360.

git-svn-id: https://develop.svn.wordpress.org/trunk@36125 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-30 23:19:11 +00:00
Pascal Birchler 4f6d5aa034 Plugins: Add a new `pre_uninstall_plugin` action that runs right before uninstalling a plugin.
Fixes #34569.

git-svn-id: https://develop.svn.wordpress.org/trunk@36124 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-30 22:37:49 +00:00
Pascal Birchler bb07293f8c Embeds: Change attachment metadata condition to prevent a warning in the embeds template.
Fixes #35237.

git-svn-id: https://develop.svn.wordpress.org/trunk@36123 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-30 22:24:31 +00:00
Andrea Fercia a03aa810c5 Media: Fix icons for HiDPI displays on the media modal after [32952].
Props vtieu.
Fixes #35200.

git-svn-id: https://develop.svn.wordpress.org/trunk@36122 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-30 18:31:41 +00:00
Andrew Ozz 8686ab4a7a Responsive images: fix the check whether the attachment meta matches the image src to work with http/https and CDNs.
Props webaware, joemcgill, azaozz.
Fixes #35045 and #35102 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@36121 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-30 01:03:11 +00:00
Andrew Ozz f39a799718 Responsive images: add compatibility for versions < 2.7 when the full image path was stored in the metadata. Introduces `_wp_get_attachment_relative_path()` and uses it in `wp_get_attachment_url()`.
Props dd32, SergeyBiryukov.
Fixes #35106 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@36120 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-30 00:05:07 +00:00
Aaron Jorbin d65a4e6498 Ensure only approved comments trigger post author notifications
Posts that are trashed shouldn't trigger post author notifications.  Adds unit tests to enforce this.

Props scottbrownconsulting, peterwilsoncc, swissspidy
Fixes #35006



git-svn-id: https://develop.svn.wordpress.org/trunk@36119 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-29 17:53:23 +00:00
Rachel Baker 61ff693ff0 Comments: Return early from `wp_update_comment_count()` if there is not a valid post.
Props ambrosey, juanfra. 
Fixes #34977



git-svn-id: https://develop.svn.wordpress.org/trunk@36115 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-28 22:57:37 +00:00
Drew Jaynes ee386bf22a Docs: Hash notate properties and defaults for the benefit of `$args` parameter documentation for `WP_Customize_Control::__construct()`.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36114 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-28 20:09:58 +00:00
Sergey Biryukov 26d7619306 Import: Add a missing space to `post_exists()`.
The lack of space resulted in SQL error when searching for posts by content.

Props yetAnotherDaniel, johnbillion.
Fixes #35246.

git-svn-id: https://develop.svn.wordpress.org/trunk@36113 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-28 19:06:05 +00:00
John Blackbourn a9b9aa65b9 Themes: Add `singular` to the list of body classes when viewing a single post object.
Adds tests

Fixes #35164
Props danielpataki, johnbillion


git-svn-id: https://develop.svn.wordpress.org/trunk@36112 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-28 17:20:07 +00:00
John Blackbourn eb4b852316 Docs: Correct a funky docblock in `funky_javascript_fix()`.
See #32246


git-svn-id: https://develop.svn.wordpress.org/trunk@36111 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-28 17:17:56 +00:00
Andrew Ozz 9b9d310c74 Responsive images: when creating `srcset` do not exclude the image size which is in the `src` attribute even when it is larger than `max_srcset_image_width`.
Props joemcgill.
Fixes #35108 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@36110 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-28 02:28:53 +00:00
Boone Gorges ba1f056a26 Force non-public taxonomies to have a query_var of `false`.
[35333] implemented `public=false` for taxonomies. The implementation prevented
non-public taxonomies from having their archives accessed via query_var during
a normal request. But it didn't prevent non-public taxonomies from registering
their query vars in the `$wp_taxonomies` global. The latter implementation
details causes problems specifically when a taxonomy is registered with
`query_var=true`; for public taxonomies, `register_taxonomy()` translates this
into a query_var equivalent to the taxonomy name, but in the case of non-public
taxonomies, the query_var was set to the boolean itself. The boolean then
causes problems when using non-strict comparison to filter taxonomy objects by
query_var, as when using `get_taxonomies()`.

This changeset addresses the issue by forcing the query_var property of
non-public taxonomies to `false`.

Fixes #35089.

git-svn-id: https://develop.svn.wordpress.org/trunk@36108 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-27 16:40:13 +00:00
Sergey Biryukov 7e3d2c3e4c Docs: Improve documentation for `wp_admin_css_color()`.
Props kiranpotphode.
Fixes #34857.

git-svn-id: https://develop.svn.wordpress.org/trunk@36107 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-27 16:32:00 +00:00
Sergey Biryukov 5502d59fb9 Docs: Fix typo in a comment in `wp_rand()`.
Props boluda.
Fixes #35228.

git-svn-id: https://develop.svn.wordpress.org/trunk@36102 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-26 11:06:47 +00:00
Dion Hulse 0ce64dd122 Allow `map_deep()` to work with object properties containing a reference. Restores the previous behaviour of `stripslashes_deep()`.
Props jeff@pyebrook.com, swissspidy.
See #22300, [35252].
Fixes #35058.


git-svn-id: https://develop.svn.wordpress.org/trunk@36100 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-26 05:21:14 +00:00
Dion Hulse a1cd9049d9 Shortcodes: `=` is a reserved character in shortcode names, mark it as such.
This allows for shortcodes such as `[shortcode=attribute]` to work, which while never intentionally supported were widely used in the pre-shortcode days.

Props aaroncampbell.
Fixes #34939 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@36097 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-26 04:45:26 +00:00
Dion Hulse bb0d1af58f Canonical: Output correct canonical links for paged posts when not using pretty permalinks.
Props peterwilsoncc.
Fixes #34890


git-svn-id: https://develop.svn.wordpress.org/trunk@36096 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-26 04:27:43 +00:00
Dion Hulse 0df95091ee Nav Menus: Avoid a PHP Notice when a menu contains a now unregistered post type archive.
Props kucrut.
Fixes #34449 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@36095 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-26 04:04:55 +00:00
Dion Hulse 1d2904bf2a Pages: `get_page_uri()` should return the URI at which the resource being accessed is available at, this may include non-'publish' status posts.
Reverts [34001] and fixes the original issue in #15963 - avoiding a PHP Notice for when the post doesn't exist.

Props tharsheblows.
See #15963.
Fixes #35084.


git-svn-id: https://develop.svn.wordpress.org/trunk@36094 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-26 03:45:28 +00:00
Sergey Biryukov 1fdddd302e Toolbar: In Comments link, replace title attribute containing the number of pending comments with a screen reader text.
Props slushman, rachelbaker.
Fixes #34895.

git-svn-id: https://develop.svn.wordpress.org/trunk@36093 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-26 01:39:50 +00:00
Sergey Biryukov 54c918d407 Remove redundant title attribute from `wp_star_rating()`. Hide the visible number of ratings from assistive technologies.
This data is redundant, as the same information is already conveyed by the text hidden with `.screen-reader-text` class.

Props afercia.
Fixes #35141.

git-svn-id: https://develop.svn.wordpress.org/trunk@36092 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-26 00:47:35 +00:00
Sergey Biryukov 443419ae37 Docs: Clarify that `get_post_types()` accepts `'not'` as its `$operator` parameter.
Props barryceelen.
Fixes #35225.

git-svn-id: https://develop.svn.wordpress.org/trunk@36091 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-26 00:37:14 +00:00
Sergey Biryukov 27ccbb591c Docs: Clarify that `wp_filter_object_list()` accepts `'not'` as its `$operator` parameter.
Props barryceelen.
See #35225.

git-svn-id: https://develop.svn.wordpress.org/trunk@36090 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-26 00:36:12 +00:00
Aaron Jorbin bc01ead655 Help Tab Order should be based on the Priority Argument
[34370] made the order that tabs are returned respect the order they are added, however it broke the respect of priority. By using a ksort instead of a sort, we can restore that default behavior. This adjusts the unit tests so that both order added and priority are tested.

Props meitar,  swissspidy, jorbin
Fixes #35215. See #33941.


git-svn-id: https://develop.svn.wordpress.org/trunk@36089 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-25 22:43:41 +00:00
SergeyBiryukov 2ce0bfa8f4 Theme Editor: Break `$wp_file_descriptions` array into sections and reorder for consistency and readability.
Props ramiy.
Fixes #35223.

git-svn-id: https://develop.svn.wordpress.org/trunk@36088 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-25 21:11:02 +00:00
Sergey Biryukov ffc86bf4e1 Theme Editor: Add `taxonomy.php`, `home.php`, `front-page.php`, `date.php`, and `singular.php` to file descriptions.
Props ramiy.
See #35223.

git-svn-id: https://develop.svn.wordpress.org/trunk@36087 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-25 21:04:13 +00:00
Sergey Biryukov b51d90ee72 Docs: Correct `@return` type for `rest_parse_date()`.
Props TimothyBlynJacobs.
Fixes #35224.

git-svn-id: https://develop.svn.wordpress.org/trunk@36086 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-25 20:40:43 +00:00
Sergey Biryukov bcc607689b Docs: Correct `@return` type for `count_user_posts()`.
Props nofearinc.
Fixes #35222.

git-svn-id: https://develop.svn.wordpress.org/trunk@36085 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-25 20:17:55 +00:00
Gary Pendergast c54bcc4d39 User: Don't continue checking a password reset key, if the hash is empty.
An empty reset key hash will never be valid, so we can skip seeing if it can be used to validate the given key, and return a failure early.

This fixes a warning in the unit tests under HHVM.

See #33926.




git-svn-id: https://develop.svn.wordpress.org/trunk@36084 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-24 02:48:29 +00:00
Gary Pendergast 275c8c1f08 Upgrade PHPMailer from 5.2.10 to 5.2.14.
The full list of changes is available here: https://github.com/PHPMailer/PHPMailer/compare/v5.2.10...v5.2.14

Fixes #35212 for trunk.



git-svn-id: https://develop.svn.wordpress.org/trunk@36083 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-24 01:58:33 +00:00
Konstantin Obenland 498fbb407c Menus: Bring back line break between menu items.
While removing line breaks was great for all use cases except justified menu
items, it broke menus with justified menu items.
Reverts [34321].

Props wp-architect.
Fixes #35107.



git-svn-id: https://develop.svn.wordpress.org/trunk@36081 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-24 00:20:24 +00:00
Konstantin Obenland 1d68393907 Taxonomy: Pass object ids to delete_* actions.
Allows for more targeted updates to affected posts in callbacks.
Disambiguates `$objects` variable and amends unit tests.

Fixes #35213.


git-svn-id: https://develop.svn.wordpress.org/trunk@36080 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-23 23:43:03 +00:00
Boone Gorges 9c2d3a7a4d Improve post-filter sanitization of excluded terms in `get_adjacent_post()`.
See [36078], #35211.

git-svn-id: https://develop.svn.wordpress.org/trunk@36079 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-23 20:14:12 +00:00
Boone Gorges fff6412f91 Move excluded_terms filter in `get_adjacent_post()`.
The filter was added in 4.4 [34528] #9571, but in a place where it could not
affect the adjacent post query.

Fixes #35211.

git-svn-id: https://develop.svn.wordpress.org/trunk@36078 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-23 19:56:32 +00:00
Boone Gorges d7fccb6c01 Respect `$_wp_suspend_cache_invalidation` in `clean_object_term_cache()`.
Props mwidmann.
Fixes #35208.

git-svn-id: https://develop.svn.wordpress.org/trunk@36076 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-23 19:28:06 +00:00
Sergey Biryukov 6bc8f2e24c Twenty Fifteen: Add left margin for lists inside blockquotes in `editor-style.css`.
Props diddledan.
Fixes #33380.

git-svn-id: https://develop.svn.wordpress.org/trunk@36075 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-23 13:09:38 +00:00
John Blackbourn 858cf7d215 Docs: Miscellaneous docblock code quality tweaks.
See #32246


git-svn-id: https://develop.svn.wordpress.org/trunk@36074 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-23 07:52:04 +00:00
johnbillion ec46b01201 Docs: `@see != @since`.
See #32246


git-svn-id: https://develop.svn.wordpress.org/trunk@36073 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-23 07:12:02 +00:00
Drew Jaynes 857de6f1ba Docs: Properly mark the optional `$redirect`, `$network_wide`, and `$silent` parameters as such in the DocBlock for `activate_plugin()`.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36072 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-23 06:59:47 +00:00
Drew Jaynes d4ea8d9f62 Docs: Add missing `@since` and properly mark the optional `$type` parameter as such in the DocBlock for the deprecated `get_others_unpublished_posts()` function.
Introduced in [5707].

See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36071 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-23 06:57:12 +00:00
Drew Jaynes b489587419 Docs: Properly mark the `$exclude_zeros` parameter in the DocBlock for `get_editable_user_ids()` as optional.
Also fixes a couple of typos.

See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36070 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-23 06:52:15 +00:00
John Blackbourn a6556195d8 Docs: Miscellaneous docblock corrections.
See #32246


git-svn-id: https://develop.svn.wordpress.org/trunk@36069 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-23 06:30:09 +00:00
Dion Hulse ec7fa69ef4 Users: When determining whether to show the reassign content option during user delete, don't rely upon `WP_Query` as it doesn't return all forms of content `wp_delete_user()` operates on.
This restores the reassign form when a user has a non-public post type or links assigned to them.

Props swissspidy & tharsheblows for initial patches.
Fixes #34993 for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@36068 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-23 04:45:42 +00:00
Andrew Ozz 83f93e5e70 Editor: remove the format_for_editor filter from `the_editor_content` after it runs as the next editor instance on the same page may not need it.
Props marcochiesi, azaozz.
Fixes #28403.

git-svn-id: https://develop.svn.wordpress.org/trunk@36062 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-22 22:39:01 +00:00
John Blackbourn 5ce7879548 Revert [35804]. This change has unintended side effects, notably that media URLs in the admin area now unexpectedly use the `https` scheme. A more comprehensive approach will be taken in 4.5.
See #13941, #35120


git-svn-id: https://develop.svn.wordpress.org/trunk@36061 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-22 13:01:31 +00:00
Gary Pendergast 0b9d32a614 Embeds: Don't show embed discovery link on a static front page.
There's currently no iframe content being generated for a static front page. Giving out a link to that isn't an ideal user experience.

Props peterwilsoncc.

Fixes #35194 for trunk.



git-svn-id: https://develop.svn.wordpress.org/trunk@36059 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-22 10:49:20 +00:00
Boone Gorges 1bf73525e8 Order terms by 'name' when populating object term cache.
[34217] removed the `ORDER BY` clause from `update_object_term_cache()`, for
improved performance. But this proved to cause problems in cases where users
were expecting the results of `get_the_terms()` to be ordered by 'name'. Let's
revert the change for the time being, and look into more disciplined ordering
in a future release.

Props afercia.
See #28922. Fixes #35180.

git-svn-id: https://develop.svn.wordpress.org/trunk@36056 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-22 01:50:08 +00:00
Drew Jaynes 688916d200 Docs: Fix a typo in the 4.4.0 changlog entry in the `intermediate_image_sizes_advanced` hook doc.
Props morganestes.
Fixes #35190.


git-svn-id: https://develop.svn.wordpress.org/trunk@36054 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-21 22:23:11 +00:00
Andrea Fercia 9c8c6955a9 Accessibility: Remove the revisions limit title attribute from the Publish box.
The revisions limit warning is now always displayed in plain text even when the
limit is not reached yet. Removes the plus "+" from the revisions count number.

Fixes #35029.

git-svn-id: https://develop.svn.wordpress.org/trunk@36053 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-21 14:38:32 +00:00
John Blackbourn da011967e7 Login: Revert [34213] and [35897]. It has become apparent that there is a need for a separate function (and corresponding filter) which allows for the login form action URL to differ from the URL used to access the login form, so that plugins or implementations which change the login URL do not need to worry about handling the form submission at the same URL.
For now, we'll revert to the pre-4.4 behaviour of hard-coding the login form action URL as `wp-login.php` and look at implementing a separate function and corresponding filter in 4.5.

Props KrissieV, salcode, JPry
Fixes #34925
See #35103


git-svn-id: https://develop.svn.wordpress.org/trunk@36042 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-21 03:22:32 +00:00
Boone Gorges 817013978d Respect approval status when determining comment page count in `comments_template()`.
Since 4.4, when fetching the first page of comments and the 'newest' comments
are set to display first, `comments_template()` must perform arithmetic to
determine which comments to show. See #8071. This arithmetic requires the
total comment count for the current post, which is calculated with a separate
`WP_Comment_Query`. This secondary comment query did not properly account for
non-approved comment statuses; all unapproved comments should be part of the
comment count for admins, and individual users should have their own
unapproved comments included in the count. As a result, `comments_template()`
was, in some cases, being fooled into thinking that a post had fewer comments
available for pagination than it actually had, which resulted in empty pages
of comments.

We correct this problem by mirroring 'status' and 'include_unapproved' params
of the main comment query within the secondary query used to calculate
pagination.

Fixes #35068.

git-svn-id: https://develop.svn.wordpress.org/trunk@36040 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-21 03:06:41 +00:00
John Blackbourn 4024cb673a Comments: When a comment is submitted, ensure the `user_ID` element in the array that's passed to the `preprocess_comment` filter gets populated.
Fixes #34997


git-svn-id: https://develop.svn.wordpress.org/trunk@36038 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-21 02:46:44 +00:00
Gary Pendergast 59b8f0da7c Texturize: Transform `&` into `&#038;` in tag attributes.
[35709] was overly broad, and stopped transforming `&` characters within tag attributes. So that sites aren't generating invalid HTML, we need to restore this functionality, while continuing to not transform `&` within blocked tags.

Fixes #35008 for trunk.



git-svn-id: https://develop.svn.wordpress.org/trunk@36036 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-21 02:42:30 +00:00
Gary Pendergast d6bf586de3 Query: Remove `title` from the public query vars list.
[33706] added `title` as a public query var, but there's not really a practical need for this, and it interferes with any plugin that uses `title` as a query var for itself.

Props tyxla.

Fixes #35115 for trunk.



git-svn-id: https://develop.svn.wordpress.org/trunk@36034 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-21 00:42:43 +00:00
Drew Jaynes 2213bfba0c Docs: Add missing notations for the optional `$tab_index` and `$extended` parameters in the DocBlock for the deprecated `the_editor()` function.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36033 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-20 21:20:14 +00:00
Andrea Fercia c8c1014a01 Accessibility: Remove title attributes from the updates links on the Plugin and Themes list tables.
Adds `aria-label` attributes on some links and on the "update nag" link. Adds translator comments.

Fixes #35167.

git-svn-id: https://develop.svn.wordpress.org/trunk@36032 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-20 16:08:38 +00:00
Andrew Ozz 58b7d3e136 Responsive images: fix calculations when determining whether to include particular image file in `srcset`.
Props joemcgill.
Fixes #34955 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@36031 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-20 02:38:34 +00:00
Drew Jaynes c593ceb5e8 Docs: Add missing parameter and return notations to the DocBlock for the deprecated `get_usernumposts()` function.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36030 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 19:40:28 +00:00
Eric Andrew Lewis 07c62c3c5f Docs: Add documentation to wp-blog-header.php.
Fixes #35161.


git-svn-id: https://develop.svn.wordpress.org/trunk@36029 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 11:19:57 +00:00
Drew Jaynes 6e8b83cb65 Docs: Add missing parameter and return notations in the DocBlock for `get_profile()`.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36028 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 09:03:11 +00:00
Drew Jaynes 44fc67cc24 Docs: Properly mark the `$classname` parameter as optional.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36027 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 08:59:49 +00:00
Drew Jaynes bb8067b666 Docs: Add missing parameter and return notations to the DocBlock for the deprecated `wp_specialchars()` function.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36026 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 08:57:49 +00:00
Drew Jaynes a052a682a1 Docs: Add missing parameter notations and descriptions in the DocBlock for `get_link()`.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36025 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 08:53:55 +00:00
Drew Jaynes e2be10ec2c Docs: Add missing parameter and return notations in the DocBlock for the deprecated `_nc()` function.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36024 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 08:47:12 +00:00
Drew Jaynes 62e657a2f0 Docs: Add a missing summary, parameter, and return descriptiosn to the DocBlock for the deprecated function, `get_linkrating()`.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36023 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 08:23:00 +00:00
Drew Jaynes a2f5cdb5bb Docs: Add a missing notation for the `$gmt_time` parameter in the DocBlock for `spawn_cron()`.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36022 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 08:19:54 +00:00
Drew Jaynes f8119eef50 Docs: Add missing DocBlocks for `hash_hmac()` and `_hash_hmac()`.
Both will be ignored from parsing as and serve as compat functions for PHP's `hash_hmac()`.

Introduced in [18111].

See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36021 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 05:10:29 +00:00
Drew Jaynes 64592f8c0b Docs: Fix inline comment syntax in `_mb_strlen()`, an internal compat method for `mb_strlen()`.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36020 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 04:58:59 +00:00
Drew Jaynes df9291938c Docs: Add missing DocBlocks for `mb_strlen()` and `_mb_strlen()`.
Both will be ignored from parsing as and serve as compat functions for PHP's `mb_strlen()`, which is not enabled by default.

Introduced in [32114].

See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36019 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 04:55:50 +00:00
Drew Jaynes 73b701b030 Docs: Fix inline comment syntax in `_mb_substr()`, an internal compat method for `mb_substr()`.
See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36018 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 04:49:42 +00:00
Drew Jaynes c848b5f670 Docs: Add missing DocBlocks for `mb_substr()` and `_mb_substr()`.
Both will be ignored from parsing as and serve as compat functions for PHP's `mb_substr()`, which is not enabled by default.

Introduced in [17621].

See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36017 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 04:46:43 +00:00
Andrea Fercia c69509b2ab Accessibility: Remove title attributes and improve accessibility on the "no-js" Menus screen.
When JavaScript is off, the reorder menu item and Edit menu item links now use `aria-label`
attributes instead of title attributes.

Fixes #35134.

git-svn-id: https://develop.svn.wordpress.org/trunk@36016 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-19 00:16:30 +00:00
Andrea Fercia 6295e19072 Accessibility: Remove title attributes from the Theme browser.
Also, adds translators comments and removes a no more used variable, see [27748].

Fixes #35140.

git-svn-id: https://develop.svn.wordpress.org/trunk@36015 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-18 23:59:07 +00:00
Andrea Fercia 82e5450328 Accessibility: Improvements for the Authentication Check modal dialog "Close X".
Removes the title attribute and uses a `<button>` element instead of a `<div>`.
Also simplifies the CSS and takes care of the hover/focus style.

Fixes #35142.

git-svn-id: https://develop.svn.wordpress.org/trunk@36014 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-18 23:50:13 +00:00
Drew Jaynes fe89f7620f 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@36013 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-18 23:37:58 +00:00
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
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