WordPress/wp-includes
Sergey Biryukov 8136532954 Accessibility: Media: Hide the invisible "file upload button" on media views from assistive technologies.
The button is visually hidden, but was announced by screen readers in workflows unrelated to file uploading, leading to confusion.

Props afercia, audrasjb, azaozz.
Fixes #47611.
Built from https://develop.svn.wordpress.org/trunk@47375


git-svn-id: http://core.svn.wordpress.org/trunk@47162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 20:44:06 +00:00
..
assets Block Editor: Update WordPress Packages WordPress 5.4 Beta 3. 2020-02-25 00:18:15 +00:00
blocks Block Editor: Update WordPress Packages WordPress 5.4 Beta 3. 2020-02-25 00:18:15 +00:00
certificates
css Accessibility: Media: Hide the invisible "file upload button" on media views from assistive technologies. 2020-02-25 20:44:06 +00:00
customize Docs: Add a reference to WP_Customize_Control::__construct() for information on accepted arguments in WP_Customize_Manager::add_control(). 2020-02-25 16:41:07 +00:00
fonts
ID3
images Build/Test tools: Update grunt-contrib-imagemin and run it 2019-10-05 14:20:59 +00:00
IXR
js Block Editor: Update WordPress Packages WordPress 5.4 Beta 3. 2020-02-25 00:18:15 +00:00
pomo Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
random_compat
Requests External Libraries: Fix PHP 7.4 compatibility issue in the Requests library. 2019-10-06 17:14:02 +00:00
rest-api Coding Standards: Use strict comparison for normalize_whitespace() checks when comparing revisions or autosaves. 2020-02-25 19:35:09 +00:00
SimplePie
sodium_compat Upgrade/Install: Update sodium_compat to v1.12.1. 2019-12-09 16:42:04 +00:00
Text
theme-compat Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
widgets Widgets: Create a unique HTML ID for the <ul> element of Recent Comments widget if more than one instance is displayed on the page. 2020-02-25 19:29:06 +00:00
admin-bar.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
atomlib.php
author-template.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
blocks.php Prevent stored XSS in the block editor. 2019-12-12 18:02:03 +00:00
bookmark-template.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
bookmark.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
cache.php Coding Standards: Move WP_Object_Cache to wp-includes/class-wp-object-cache.php. 2020-02-06 05:53:06 +00:00
canonical.php Canonical: When removing trailing punctuation from query string arguments, match the whole query var name. 2020-02-03 00:14:07 +00:00
capabilities.php Privacy: Revert [47269] for now to address side effects on Multisite installations. 2020-02-11 21:48:06 +00:00
category-template.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
category.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-feed.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
class-http.php Docs: Add a @staticvar entry for $transports in WP_Http::_dispatch_request(). 2020-02-22 19:12:06 +00:00
class-IXR.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
class-json.php Docs: Correct @see references for PHP 4 constructors in wp-includes/class-json.php. 2019-11-02 20:13:02 +00:00
class-oembed.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
class-phpass.php Docs: Update URLs in some @link tags and switch them to HTTPS. 2019-11-01 14:57:02 +00:00
class-phpmailer.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
class-pop3.php
class-requests.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class-simplepie.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
class-smtp.php
class-snoopy.php
class-walker-category-dropdown.php
class-walker-category.php Menus: In Walker_Nav_Menu, Walker_Category, and Walker_Page, properly output link attributes having a legitimate "empty" value, for example an HTML data attribute with a value of zero (0). 2019-10-06 15:06:03 +00:00
class-walker-comment.php Docs: Add missing description for $comment global. 2019-10-04 22:19:57 +00:00
class-walker-nav-menu.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-walker-page-dropdown.php
class-walker-page.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-admin-bar.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-ajax-response.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-block-parser.php
class-wp-block-styles-registry.php Editor: Fix typo in an error message in WP_Block_Styles_Registry::register(). 2019-10-27 14:09:02 +00:00
class-wp-block-type-registry.php
class-wp-block-type.php
class-wp-comment-query.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-comment.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class-wp-customize-control.php Docs: Add a reference to WP_Customize_Control::__construct() for information on accepted arguments in WP_Customize_Manager::add_control(). 2020-02-25 16:41:07 +00:00
class-wp-customize-manager.php Docs: Clarify in WP_Customize_Manager::remove_*() methods that removing a setting, panel, section, or control does not destroy the class instance or remove its filters. 2020-02-25 17:50:05 +00:00
class-wp-customize-nav-menus.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
class-wp-customize-panel.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
class-wp-customize-section.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
class-wp-customize-setting.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
class-wp-customize-widgets.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-date-query.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-dependency.php Docs: Improve documentation for WP_Dependencies, WP_Scripts, and WP_Styles methods. 2020-02-03 00:19:03 +00:00
class-wp-editor.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-embed.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-error.php
class-wp-fatal-error-handler.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-feed-cache-transient.php
class-wp-feed-cache.php
class-wp-hook.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-http-cookie.php
class-wp-http-curl.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-http-encoding.php Docs: Update links to https://secure.php.net/, they now redirect to https://www.php.net/. 2020-01-20 03:14:06 +00:00
class-wp-http-ixr-client.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-http-proxy.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-http-requests-hooks.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-http-requests-response.php Docs: Fix and improve inline documentation for the HTTP API. 2019-10-12 18:05:04 +00:00
class-wp-http-response.php
class-wp-http-streams.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-image-editor-gd.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-image-editor-imagick.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-image-editor.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-list-util.php
class-wp-locale-switcher.php
class-wp-locale.php Docs: Add descriptions for some globals: 2020-02-10 03:30:06 +00:00
class-wp-matchesmapregex.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-meta-query.php Docs: In various @return tags, list the expected type first, instead of false. 2020-01-11 18:32:05 +00:00
class-wp-metadata-lazyloader.php Text Changes: Add missing periods to some error messages, for consistency. 2020-02-01 20:32:05 +00:00
class-wp-network-query.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-network.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-object-cache.php Coding Standards: Move WP_Object_Cache to wp-includes/class-wp-object-cache.php. 2020-02-06 05:53:06 +00:00
class-wp-oembed-controller.php Docs: In various @return tags, list the expected type first, instead of WP_Error. 2019-11-11 02:43:03 +00:00
class-wp-oembed.php Embeds: Add support for TikTok. 2020-02-09 04:55:06 +00:00
class-wp-paused-extensions-storage.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-post-type.php Administration: Capitalize Trash consistently in various messages and comments. 2020-02-10 04:12:07 +00:00
class-wp-post.php
class-wp-query.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-recovery-mode-cookie-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-recovery-mode-email-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-recovery-mode-key-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-recovery-mode-link-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-recovery-mode.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rewrite.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-role.php Docs: Switch more docs over to typed array notation, plus some fixes. 2019-10-26 21:09:04 +00:00
class-wp-roles.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-session-tokens.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-simplepie-file.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-simplepie-sanitize-kses.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-site-query.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-site.php
class-wp-tax-query.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-taxonomy.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-term-query.php Docs: Correct and improve the readability of some parameters of WP_Term_Query. 2019-11-04 17:50:02 +00:00
class-wp-term.php
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-theme.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-user-request.php
class-wp-user.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-walker.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-widget-factory.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-widget.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-xmlrpc-server.php Administration: Capitalize Trash consistently in various messages and comments. 2020-02-10 04:12:07 +00:00
class-wp.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class.wp-dependencies.php Script Loader: Improve performance of wp_script_is() for scripts registered with complex dependencies. 2020-02-25 13:42:05 +00:00
class.wp-scripts.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class.wp-styles.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
comment-template.php Comments: Restore the fourth parameter of comments_number() as $post_id, for consistency with get_comments_number_text(). 2020-02-25 17:34:08 +00:00
comment.php Docs: Add missing quote to {@see 'comment_$old_status_to_$new_status'} hook reference in wp_transition_comment_status() DocBlock. 2020-02-19 13:45:07 +00:00
compat.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
cron.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
date.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
default-constants.php Docs: Fix typo in a comment with WP_DEBUG_DISPLAY description. 2020-02-02 05:34:05 +00:00
default-filters.php Toolbar: Load toolbar in wp_body_open when available. 2020-02-09 18:26:08 +00:00
default-widgets.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
deprecated.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
embed-template.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
embed.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
error-protection.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-atom-comments.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
feed-atom.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-rdf.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-rss2-comments.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-rss2.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-rss.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
formatting.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
functions.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
functions.wp-scripts.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
functions.wp-styles.php Script Loader: Fix a docblock so it points to the correct page on the developer reference. 2020-02-07 17:42:06 +00:00
general-template.php General: Introduce HTML classes in get_calendar() for easier CSS targeting: 2020-02-25 20:30:07 +00:00
http.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
kses.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
l10n.php Docs: Add descriptions for some globals: 2020-02-10 03:30:06 +00:00
link-template.php Administration: Capitalize Trash consistently in various messages and comments. 2020-02-10 04:12:07 +00:00
load.php Bootstrap/Load: In wp_magic_quotes(), revert the type change to string for REQUEST_TIME and REQUEST_TIME_FLOAT values, which should retain their proper type. 2020-02-25 18:33:06 +00:00
locale.php Docs: Add missing @deprecated tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
media-template.php Media: Add link to the original image in the image properties if it was scaled or rotated after uploading. 2020-02-07 05:13:05 +00:00
media.php Docs: Improve documentation for the $attr parameter of wp_get_attachment_image(). 2020-02-10 22:03:07 +00:00
meta.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
ms-blogs.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
ms-default-constants.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
ms-default-filters.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
ms-deprecated.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
ms-files.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
ms-functions.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
ms-load.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
ms-network.php
ms-settings.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
ms-site.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
nav-menu-template.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
nav-menu.php Menus: When adding a label for special pages in wp_setup_nav_menu_item(), check if get_post_states() is available, to avoid fatal errors on front end. 2020-02-08 12:49:07 +00:00
option.php Docs: In update_option(), remove an inaccurate statement about the $autoload value for new options. 2020-02-25 20:08:07 +00:00
pluggable-deprecated.php Docs: In various @return tags, list the expected type first, instead of false. 2020-01-11 18:32:05 +00:00
pluggable.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
plugin.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
post-formats.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
post-template.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
post-thumbnail-template.php Post Thumbnails: Make sure get_post_thumbnail_id() returns an integer, to match the documented return value. 2020-02-02 03:08:04 +00:00
post.php Docs: Add a @since note for including delete_posts in default capabilities in get_post_type_capabilities(). 2020-02-25 12:55:08 +00:00
query.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
registration-functions.php Docs: Add missing @deprecated tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
registration.php Docs: Add missing @deprecated tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
rest-api.php REST API: Correctly infer empty objects passed via query parameters. 2020-02-25 15:34:07 +00:00
revision.php Coding Standards: Use strict comparison for normalize_whitespace() checks when comparing revisions or autosaves. 2020-02-25 19:35:09 +00:00
rewrite.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
rss-functions.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
rss.php
script-loader.php Script Loader: Remove unnecessary reference sign from function definitions in script loader. 2020-02-25 00:59:06 +00:00
session.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
shortcodes.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
spl-autoload-compat.php
taxonomy.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
template-loader.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
template.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
theme.php Customize: Avoid unnecessary get_theme_mod() call and premature escaping in get_header_video_url(). 2020-02-11 16:36:06 +00:00
update.php Docs: Add descriptions for some globals: 2020-02-10 03:30:06 +00:00
user.php Docs: In wp_insert_user(), correct @type for rich_editing, syntax_highlighting, comment_shortcuts, and show_admin_bar_front arguments. 2020-02-25 18:20:06 +00:00
vars.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
version.php Accessibility: Media: Hide the invisible "file upload button" on media views from assistive technologies. 2020-02-25 20:44:06 +00:00
widgets.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
wlwmanifest.xml
wp-db.php Docs: Add descriptions for some globals: 2020-02-10 03:30:06 +00:00
wp-diff.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00