WordPress/wp-includes
Andrea Fercia 91ab0b3989 Accessibility: Media: Allow users to set a proper language for Video subtitles.
For a number of years, subtitles track added to videos were always set to "English" regardless of the actual subtitles language.

By making the track `srclang`, `label`, and `kind` attributes editable, content authors are now able to set a language that matches the actual track content.

Props BjornW, audrasjb, birgire, karmatosed, sabernhardt, afercia.
Fixes #47559.

Built from https://develop.svn.wordpress.org/trunk@46373


git-svn-id: http://core.svn.wordpress.org/trunk@46172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-01 22:05:58 +00:00
..
blocks Block Editor: Fixes failing unit tests related to Social Link blocks 2019-09-19 15:47:58 +00:00
certificates HTTP: Update the Root Certificate bundle. 2019-09-12 12:04:59 +00:00
css Accessibility: Media: Allow users to set a proper language for Video subtitles. 2019-10-01 22:05:58 +00:00
customize I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
fonts Administration: Fix Dashicon backwards compatibility issues. 2019-03-27 19:59:52 +00:00
ID3 External Library: Update getid3 to 1.9.18 2019-09-18 14:54:57 +00:00
images
IXR Date/Time: Replace all instances of date() with gmdate(). 2019-05-26 00:12:54 +00:00
js Block Editor: Update WordPress packages to include the latest bug fixes. 2019-09-30 20:07:06 +00:00
pomo Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes. 2019-07-02 23:42:58 +00:00
random_compat
Requests External Libraries: Fix PHP 7.4 compatibility issues in the Requests library. 2019-09-23 18:11:59 +00:00
rest-api REST API: Combine array and object cases in WP_REST_Meta_Fields::get_default_for_type() to remove duplicated line. 2019-09-29 22:34:57 +00:00
SimplePie External Libraries: Fix PHP 7.4 compatibility issues in the SimplePie library. 2019-09-23 18:17:58 +00:00
sodium_compat Upgrade/Install: Update sodium_compat to v1.10.0. 2019-05-17 10:58:51 +00:00
Text
theme-compat I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
widgets Script Loader: Introduce HTML5 support for scripts and styles. 2019-09-18 14:50:56 +00:00
admin-bar.php Script Loader: Introduce HTML5 support for scripts and styles. 2019-09-18 14:50:56 +00:00
atomlib.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
author-template.php Build/Test Tools: Introduce automated PHP compatibility checking. 2019-09-25 13:47:58 +00:00
blocks.php Docs: Docblock corrections and improvements, mostly related to various pre_* filters. 2019-09-21 17:41:57 +00:00
bookmark-template.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
bookmark.php Docs: Improve documentation for get_bookmarks(). 2019-09-16 19:55:56 +00:00
cache.php Docs: Correct type for WP_Object_Cache::$blog_prefix. 2019-04-11 20:10:53 +00:00
canonical.php Docs: Add missing description for $wp_query and $wp_the_query globals. 2019-08-04 01:59:56 +00:00
capabilities.php Code Modernisation: Replace call_user_func_array() in wp-includes/capabilities.php with a direct function call. 2019-09-15 11:23:56 +00:00
category-template.php Code Modernisation: Introduce the spread operator in wp-includes/category-template.php. 2019-09-15 10:33:55 +00:00
category.php I18N: Improve translator comments. 2019-09-01 17:13:59 +00:00
class-feed.php
class-http.php Docs: Docblock corrections and improvements, mostly related to various pre_* filters. 2019-09-21 17:41:57 +00:00
class-IXR.php
class-json.php Code Modernization: Deprecate the Services_JSON and Services_JSON_Error classes. 2019-09-20 19:53:57 +00:00
class-oembed.php Coding Standards: Move wp-includes/class-oembed.php to wp-includes/class-wp-oembed.php. 2019-07-19 04:32:57 +00:00
class-phpass.php
class-phpmailer.php Mail: Update PHPMailer to 5.2.27. 2019-09-12 14:37:57 +00:00
class-pop3.php PHP 7.4 compatibility fix / accessing arrays/string using curly brace syntax 2019-08-03 20:21:55 +00:00
class-requests.php External Libraries: Fix PHP 7.4 compatibility issues in the Requests library. 2019-09-23 18:11:59 +00:00
class-simplepie.php
class-smtp.php Mail: Update PHPMailer to 5.2.27. 2019-09-12 14:37:57 +00:00
class-snoopy.php
class-walker-category-dropdown.php
class-walker-category.php Accessibility: Add aria-current to the Archives, Categories, and Recent Posts widgets output. 2019-09-18 12:25:56 +00:00
class-walker-comment.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-walker-nav-menu.php Menus: Set better default for $args parameter in Walker_Nav_Menu methods, to match the documented parameter type. 2019-06-14 11:26:52 +00:00
class-walker-page-dropdown.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-walker-page.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-admin-bar.php Code Modernisation: Remove redundant calls to func_get_arg() in wp-includes/class-wp-admin-bar.php. 2019-09-15 11:46:54 +00:00
class-wp-ajax-response.php Coding Standards: Rename $r variable used with wp_parse_args() to $parsed_args for clarity. 2019-07-25 00:48:58 +00:00
class-wp-block-parser.php Block Editor: Update WordPress Packages to solve PHP 5.2.2 parser incompatibility. 2019-02-07 09:02:49 +00:00
class-wp-block-styles-registry.php Docs: Correct WP_Styles_Registry documentation. 2019-09-30 15:44:59 +00:00
class-wp-block-type-registry.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-block-type.php
class-wp-comment-query.php Code Modernisation: Replace call_user_func_array() in various __call() methods with dynamic function calls. 2019-09-15 11:53:56 +00:00
class-wp-comment.php
class-wp-customize-control.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-customize-manager.php Code Modernization: Use the ** operator instead of the pow() function in wp_convert_bytes_to_hr() for better performance. 2019-09-21 12:49:57 +00:00
class-wp-customize-nav-menus.php Menus: Replace http with https in placeholders. 2019-09-26 20:32:55 +00:00
class-wp-customize-panel.php Code Modernisation: Replace call_user_func_array() in wp-includes/class-wp-customize-*.php with direct function calls in combination with the spread operator. 2019-09-15 11:27:55 +00:00
class-wp-customize-section.php Code Modernisation: Replace call_user_func_array() in wp-includes/class-wp-customize-*.php with direct function calls in combination with the spread operator. 2019-09-15 11:27:55 +00:00
class-wp-customize-setting.php Code Modernisation: Replace call_user_func_array() in wp-includes/class-wp-customize-*.php with direct function calls in combination with the spread operator. 2019-09-15 11:27:55 +00:00
class-wp-customize-widgets.php Code Modernisation: Replace call_user_func_array() in wp-includes/class-wp-customize-*.php with direct function calls in combination with the spread operator. 2019-09-15 11:27:55 +00:00
class-wp-date-query.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-dependency.php Code Modernisation: Introduce the spread operator in wp-includes/class-wp-dependency.php. 2019-09-15 10:36:56 +00:00
class-wp-editor.php Accessibility: Media: Make the Image Editor buttons text visible. 2019-09-26 17:16:57 +00:00
class-wp-embed.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes. 2019-07-02 23:42:58 +00:00
class-wp-error.php
class-wp-fatal-error-handler.php Site Health: Add a link to "Debugging in WordPress" support article to fatal PHP error handler's default message. 2019-09-16 17:23:55 +00:00
class-wp-feed-cache-transient.php
class-wp-feed-cache.php
class-wp-hook.php Code Modernisation: Replace call_user_func_array() in combination with an empty array in wp-includes/class-wp-hook.php with call_user_func(). 2019-09-15 11:45:56 +00:00
class-wp-http-cookie.php Docs: Correct @type annotation for WP_HTTP_Cookie::$expires. 2019-08-05 07:56:56 +00:00
class-wp-http-curl.php Code Modernization: Remove a workaround for CURLOPT_PROTOCOLS in WP_Http_Curl::request(). 2019-09-20 22:23:58 +00:00
class-wp-http-encoding.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes. 2019-07-02 23:42:58 +00:00
class-wp-http-ixr-client.php
class-wp-http-proxy.php Docs: Docblock corrections and improvements, mostly related to various pre_* filters. 2019-09-21 17:41:57 +00:00
class-wp-http-requests-hooks.php Coding Standards: Mark the handful of hook names with uppercase characters or hyphens as ignored. 2019-07-05 01:45:56 +00:00
class-wp-http-requests-response.php HTTP: Add support for the host-only flag to Wp_Http_Cookie. 2019-04-08 05:32:51 +00:00
class-wp-http-response.php Coding Standards: Fix/ignore the WordPress.NamingConventions.ValidFunctionName violations. 2019-07-01 08:01:57 +00:00
class-wp-http-streams.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-wp-image-editor-gd.php Docs: Improve and update the description of multi_resize() to explain changes and expected use. 2019-08-25 22:21:58 +00:00
class-wp-image-editor-imagick.php Media: Prevent unnecessary whitespace around PDF Thumbnails. 2019-09-23 10:36:57 +00:00
class-wp-image-editor.php Media/Upload: rotate images on upload according to EXIF Orientation. 2019-09-20 18:21:57 +00:00
class-wp-list-util.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes. 2019-07-02 23:42:58 +00:00
class-wp-locale-switcher.php Docs: Add missing description for $wp_locale global. 2019-08-04 01:46:55 +00:00
class-wp-locale.php Code Modernization: Remove all code using a version_compare() with a PHP version older than PHP 5.6. 2019-09-20 22:02:57 +00:00
class-wp-matchesmapregex.php
class-wp-meta-query.php Query: Expand the list of operators available to compare_key in WP_Meta_Query. 2019-09-19 15:03:56 +00:00
class-wp-metadata-lazyloader.php
class-wp-network-query.php Multisite: improve sites_pre_query and networks_pre_query filters, avoiding db queries. 2019-09-12 22:17:55 +00:00
class-wp-network.php Multisite: Improve performance by caching not found lookups for sites and networks. 2019-08-29 12:42:56 +00:00
class-wp-oembed-controller.php Coding Standards: Move wp-includes/class-oembed.php to wp-includes/class-wp-oembed.php. 2019-07-19 04:32:57 +00:00
class-wp-oembed.php Code Modernisation: Replace call_user_func_array() in various __call() methods with dynamic function calls. 2019-09-15 11:53:56 +00:00
class-wp-paused-extensions-storage.php Bootstrap/Load: Introduce a recovery mode for fixing fatal errors. 2019-03-21 21:53:51 +00:00
class-wp-post-type.php REST API: Introduce WP_Post_Type::get_rest_controller() caching method to prevent unnecessary REST controller construction. 2019-09-23 20:25:57 +00:00
class-wp-post.php Coding Standards: Use strict comparison in WP_Post where possible. 2019-03-15 21:55:50 +00:00
class-wp-query.php Docs: Correct @since tag for comments_popup public query variable removed in [35848]. 2019-09-20 17:44:59 +00:00
class-wp-recovery-mode-cookie-service.php Bootstrap/Load: Set expiration of the recovery mode cookie to the same amount of time for which the token in it is valid: a week by default. 2019-06-17 19:17:54 +00:00
class-wp-recovery-mode-email-service.php Site Health: Include simple debug data in fatal error protection email. 2019-09-23 20:27:56 +00:00
class-wp-recovery-mode-key-service.php Bootstrap/Load: Allow more than one recovery link to be valid at a time. 2019-04-16 05:09:51 +00:00
class-wp-recovery-mode-link-service.php Bootstrap/Load: Allow more than one recovery link to be valid at a time. 2019-04-16 05:09:51 +00:00
class-wp-recovery-mode.php Bootstrap/Load: Return a 403 error code when the recovery mode cookie is invalid or expired, or the exit recovery mode nonce check failed. 2019-06-17 18:37:55 +00:00
class-wp-rewrite.php Code Modernisation: Remove redundant call to func_get_arg() in wp-includes/class-wp-rewrite.php. 2019-09-15 11:47:54 +00:00
class-wp-role.php
class-wp-roles.php Code Modernisation: Replace call_user_func_array() in various __call() methods with dynamic function calls. 2019-09-15 11:53:56 +00:00
class-wp-session-tokens.php
class-wp-simplepie-file.php
class-wp-simplepie-sanitize-kses.php
class-wp-site-query.php Multisite: improve sites_pre_query and networks_pre_query filters, avoiding db queries. 2019-09-12 22:17:55 +00:00
class-wp-site.php Multisite: Improve performance by caching not found lookups for sites and networks. 2019-08-29 12:42:56 +00:00
class-wp-tax-query.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes. 2019-07-02 23:42:58 +00:00
class-wp-taxonomy.php Docs: Add missing description for $wp global. 2019-08-04 01:28:55 +00:00
class-wp-term-query.php Taxonomy: Ensure consistency of hide_empty in term queries when taxonomy is excluded. 2019-08-23 16:05:56 +00:00
class-wp-term.php
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php Accessibility: Improve the differences between revisions. 2019-08-03 15:46:54 +00:00
class-wp-theme.php Bundled Themes: Make Twenty Twenty the new default theme. 2019-09-23 21:00:58 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Docs: Correct accepted values for search_columns parameter in WP_User_Query. 2019-09-17 15:43:56 +00:00
class-wp-user-request.php Privacy tools: 2019-06-10 23:54:53 +00:00
class-wp-user.php Code Modernisation: Replace call_user_func_array() in various __call() methods with dynamic function calls. 2019-09-15 11:53:56 +00:00
class-wp-walker.php Code Modernisation: Replace call_user_func_array() in wp-includes/class-wp-walker.php with dynamic function calls. 2019-09-15 11:50:55 +00:00
class-wp-widget-factory.php Code Modernization: Remove workarounds for spl_object_hash(). 2019-09-20 22:34:57 +00:00
class-wp-widget.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes. 2019-07-02 23:42:58 +00:00
class-wp-xmlrpc-server.php Docs: Docblock corrections and improvements, mostly related to various pre_* filters. 2019-09-21 17:41:57 +00:00
class-wp.php Docs: Add missing description for $wp_query and $wp_the_query globals. 2019-08-04 01:59:56 +00:00
class.wp-dependencies.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes. 2019-07-02 23:42:58 +00:00
class.wp-scripts.php Script Loader: Add function_exists() checks for is_admin() and current_theme_supports(), to accomodate for using WP_Dependencies as a standalone class. 2019-09-24 02:56:57 +00:00
class.wp-styles.php Script Loader: Add function_exists() checks for is_admin() and current_theme_supports(), to accomodate for using WP_Dependencies as a standalone class. 2019-09-24 02:56:57 +00:00
comment-template.php Comments: Add rel="nofollow ugc" attribute to links in comments. 2019-09-30 01:30:58 +00:00
comment.php Pings/Trackbacks: Use correct variable in a foreach() loop in do_all_pings(). 2019-09-25 15:50:58 +00:00
compat.php Code Modernization: Remove JSON related polyfills. 2019-09-20 20:16:58 +00:00
cron.php Docs: Docblock corrections and improvements, mostly related to various pre_* filters. 2019-09-21 17:41:57 +00:00
date.php Coding Standards: Move wp-includes/date.php to wp-includes/class-wp-date-query.php. 2019-07-25 23:31:56 +00:00
default-constants.php Bundled Themes: Make Twenty Twenty the new default theme. 2019-09-23 21:00:58 +00:00
default-filters.php Comments: Add rel="nofollow ugc" attribute to links in comments. 2019-09-30 01:30:58 +00:00
default-widgets.php
deprecated.php Build/Test Tools: Introduce automated PHP compatibility checking. 2019-09-25 13:47:58 +00:00
embed-template.php
embed.php Script Loader: Introduce HTML5 support for scripts and styles. 2019-09-18 14:50:56 +00:00
error-protection.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
feed-atom-comments.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
feed-atom.php Feeds: improve structure and naming of feed build date helper function. 2019-04-18 17:08:52 +00:00
feed-rdf.php Feeds: improve structure and naming of feed build date helper function. 2019-04-18 17:08:52 +00:00
feed-rss2-comments.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
feed-rss2.php Feeds: improve structure and naming of feed build date helper function. 2019-04-18 17:08:52 +00:00
feed-rss.php Feeds: improve structure and naming of feed build date helper function. 2019-04-18 17:08:52 +00:00
feed.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
formatting.php Comments: Add rel="nofollow ugc" attribute to links in comments. 2019-09-30 01:30:58 +00:00
functions.php Accessibility: Improve and modernize user interface controls: Remove the CSS transform 1 pixel shift from the buttons active state. 2019-09-30 10:53:57 +00:00
functions.wp-scripts.php Docs: Fix typo in wp_print_scripts()' reference to WP_Scripts::do_item(). 2019-09-25 22:23:55 +00:00
functions.wp-styles.php
general-template.php Build/Test Tools: Introduce automated PHP compatibility checking. 2019-09-25 13:47:58 +00:00
http.php Coding Standards: Fix instances of WordPress.PHP.NoSilencedErrors.Discouraged. 2019-07-09 05:45:58 +00:00
kses.php KSES: Add support for modern layout techniques in style attribute. 2019-09-22 22:17:57 +00:00
l10n.php Docs: Docblock corrections and improvements, mostly related to various pre_* filters. 2019-09-21 17:41:57 +00:00
link-template.php Docs: Improve consistency in @since tags for parameters that were made optional. 2019-09-24 12:54:57 +00:00
load.php Bootstrap/Load: Reorganize the initialization flow so that the check for PHP and MySQL requirements could run as early as possible. 2019-09-19 12:02:58 +00:00
locale.php
media-template.php Accessibility: Media: Allow users to set a proper language for Video subtitles. 2019-10-01 22:05:58 +00:00
media.php Accessibility: Media: Make screen readers announce the Media search results. 2019-09-23 12:19:56 +00:00
meta.php REST API: Issue warning if array meta is registered without item schema. 2019-09-19 14:36:55 +00:00
ms-blogs.php Multisite/Sites: Add links to filter websites by status. 2019-09-23 17:35:59 +00:00
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php Docs: Add missing description for $wpdb, $wp_db_version, and $wp_current_db_version globals. 2019-08-04 01:12:56 +00:00
ms-files.php
ms-functions.php Docs: Remove obsolete comment in wpmu_signup_blog_notification() and wpmu_signup_user_notification(). 2019-10-01 00:46:57 +00:00
ms-load.php Docs: Docblock corrections and improvements, mostly related to various pre_* filters. 2019-09-21 17:41:57 +00:00
ms-network.php
ms-settings.php
ms-site.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
nav-menu-template.php Code Modernisation: Replace call_user_func_array() in wp-includes/nav-menu-template.php with a dynamic function call. 2019-09-15 11:31:57 +00:00
nav-menu.php Correct the version number specified in [46102]. 2019-09-13 18:55:56 +00:00
option.php Coding Standards: Fix WPCS issue in [46120]. 2019-09-15 02:07:55 +00:00
pluggable-deprecated.php
pluggable.php Docs: Docblock corrections and improvements, mostly related to various pre_* filters. 2019-09-21 17:41:57 +00:00
plugin.php Options: register_uninstall_hook() causes large amounts of unnecessary option updates. 2019-09-26 22:08:57 +00:00
post-formats.php Docs: Add missing description for $wp_rewrite global. 2019-08-04 01:19:56 +00:00
post-template.php Code Modernisation: Replace call_user_func_array() in wp-includes/post-template.php with a dynamic function call. 2019-09-15 11:32:54 +00:00
post-thumbnail-template.php Docs: Add missing description for $wp_query and $wp_the_query globals. 2019-08-04 01:59:56 +00:00
post.php Media: Move wp_get_original_image_path() to wp-content/post.php to make it easier to access from plugins. 2019-09-30 16:28:59 +00:00
query.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
registration-functions.php
registration.php
rest-api.php REST API: Introduce WP_Post_Type::get_rest_controller() caching method to prevent unnecessary REST controller construction. 2019-09-23 20:25:57 +00:00
revision.php Coding Standards: Fix all WordPress.CodeAnalysis.AssignmentInCondition issues. 2019-07-05 03:14:56 +00:00
rewrite.php Docs: Add missing description for $wp global. 2019-08-04 01:28:55 +00:00
rss-functions.php
rss.php
script-loader.php Block Editor: Update WordPress packages to include the latest bug fixes. 2019-09-30 20:07:06 +00:00
session.php
shortcodes.php Shortcodes: Improve handling from shortcode_parse_attts(). 2019-10-01 03:42:58 +00:00
spl-autoload-compat.php Code Modernisation: Remove the SPL autoloader polyfill. 2019-07-15 05:11:56 +00:00
taxonomy.php Docs: Docblock corrections and improvements, mostly related to various pre_* filters. 2019-09-21 17:41:57 +00:00
template-loader.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes. 2019-07-02 23:42:58 +00:00
template.php Docs: Add missing description for $post global. 2019-08-04 12:28:56 +00:00
theme.php Themes: Docblock cleanup for get_theme_root_uri() 2019-09-26 20:21:58 +00:00
update.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
user.php Docs: Fix placement of some duplicate hook references. 2019-09-10 19:23:55 +00:00
vars.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
version.php Accessibility: Media: Allow users to set a proper language for Video subtitles. 2019-10-01 22:05:58 +00:00
widgets.php Widgets: Introduce register_sidebar_defaults filter for default arguments in register_sidebar(). 2019-09-16 09:13:54 +00:00
wlwmanifest.xml
wp-db.php Docs: Docblock corrections and improvements, mostly related to various pre_* filters. 2019-09-21 17:41:57 +00:00
wp-diff.php