WordPress/wp-includes
Sergey Biryukov ac690426eb Accessibility: Menus: Properly disable form controls on the Menus screen that cannot be used until at least one menu is created.
This ensures that the actual UI controls state matches the visually conveyed state.

Props afercia, audrasjb, dinhtungdu, sathyapulse, simonjanin, welcher, SergeyBiryukov.
Fixes #48409.
Built from https://develop.svn.wordpress.org/trunk@46842


git-svn-id: http://core.svn.wordpress.org/trunk@46642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 13:49:03 +00:00
..
blocks Docs: Remove some funky nested filters. 2019-10-28 19:04:05 +00:00
certificates
css Block Editor: Revert [46663] which was itself an erroneous revert. 2019-11-05 21:59:03 +00:00
customize Docs: Correct various docblocks documentation. 2019-12-06 22:23:04 +00:00
fonts
ID3 External Library: Update getid3 to 1.9.18 2019-09-18 14:54:57 +00:00
images Build/Test tools: Update grunt-contrib-imagemin and run it 2019-10-05 14:20:59 +00:00
IXR
js Docs: Replace @returns tags in JS docs with @return. 2019-11-29 18:01:03 +00:00
pomo Docs: Correct spelling of "subclass" and "overridden" in various docblocks and error messages. 2019-11-17 07:43:01 +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 Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +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
Text
theme-compat Docs: Correct some more invalid inline docs. 2019-10-31 21:20:02 +00:00
widgets Docs: Correct various docblocks documentation. 2019-12-06 22:23:04 +00:00
admin-bar.php Toolbar: Use add_node() instead of add_menu() in core. 2019-11-03 22:14:01 +00:00
atomlib.php
author-template.php Build/Test Tools: Introduce automated PHP compatibility checking. 2019-09-25 13:47:58 +00:00
blocks.php Docs: Docs on docs. Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:30:03 +00:00
bookmark-template.php
bookmark.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
cache.php
canonical.php
capabilities.php Docs: Use the {@see ...} tag for the replacement in @deprecated tags, so that Developer Reference could automatically link to the replacement. 2019-11-09 13:05:02 +00:00
category-template.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
category.php
class-feed.php Docs: Add missing @deprecated tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
class-http.php Coding Standards: Fix WPCS issue in [46690]. 2019-11-10 01:45:02 +00:00
class-IXR.php
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
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 General: Patch PHMailer for PHP 7.4 compatibility. 2019-10-03 15:45:59 +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 Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class-simplepie.php
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 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-page-dropdown.php
class-walker-page.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-wp-admin-bar.php Toolbar: Properly escape the onclick attribute. 2019-11-15 23:24:02 +00:00
class-wp-ajax-response.php
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 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 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
class-wp-customize-manager.php Docs: Correct various docblocks documentation. 2019-12-06 22:23:04 +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
class-wp-customize-section.php Customize: Formally deprecate unused Customizer classes. 2019-11-03 16:48:00 +00:00
class-wp-customize-setting.php Docs: Move the @link tag for Customize API in WP_Customize_Manager::add_setting() and WP_Customize_Setting to a more appropriate place. 2019-11-10 01:43:02 +00:00
class-wp-customize-widgets.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-date-query.php
class-wp-dependency.php Docs: Add a @since note about new parameters with the spread operator added to function signatures. 2019-10-09 04:28:02 +00:00
class-wp-editor.php Editor: Pass $editor_id parameter to tiny_mce_plugins, mce_external_plugins, and mce_external_languages filters, for consistency with teeny_mce_plugins. 2019-11-16 16:36:02 +00:00
class-wp-embed.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +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 Docs: Correct @param type for the function parameter in tests_add_filter() and _test_filter_build_unique_id(). 2019-11-29 21:42:01 +00:00
class-wp-http-cookie.php
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 Docs: Switch more docs over to typed array notation, plus some fixes. 2019-10-26 21:09:04 +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
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
class-wp-image-editor-gd.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-image-editor-imagick.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-image-editor.php Docs: Correct spelling of "subclass" and "overridden" in various docblocks and error messages. 2019-11-17 07:43:01 +00:00
class-wp-list-util.php
class-wp-locale-switcher.php
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 Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
class-wp-metadata-lazyloader.php
class-wp-network-query.php
class-wp-network.php
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: Remove CollegeHumor oEmbed provider, as the service does not exist anymore. 2019-11-23 10:15:03 +00:00
class-wp-paused-extensions-storage.php
class-wp-post-type.php REST API: Ensure rest_controller instantiates the post type's declared REST controller class. 2019-10-08 13:43:02 +00:00
class-wp-post.php
class-wp-query.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class-wp-recovery-mode-cookie-service.php
class-wp-recovery-mode-email-service.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class-wp-recovery-mode-key-service.php
class-wp-recovery-mode-link-service.php
class-wp-recovery-mode.php
class-wp-rewrite.php Docs: Use the {@see ...} tag for the replacement in @deprecated tags, so that Developer Reference could automatically link to the replacement. 2019-11-09 13:05:02 +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 Docs: Switch more docs over to typed array notation, plus some fixes. 2019-10-26 21:09:04 +00:00
class-wp-session-tokens.php
class-wp-simplepie-file.php
class-wp-simplepie-sanitize-kses.php
class-wp-site-query.php
class-wp-site.php
class-wp-tax-query.php
class-wp-taxonomy.php Taxonomy: Correct the initial value for WP_Taxonomy::$labels to match get_taxonomy_labels() return type. 2019-11-18 07:58:59 +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: Correct some invalid hook docblocks. 2019-11-12 22:42:02 +00:00
class-wp-theme.php Docs: Clarify that WP_Theme::get(), ::display(), and several related methods treat the Tags theme header as an array. 2019-11-20 08:31:03 +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
class-wp-user.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class-wp-walker.php Docs: Tweak the @since note in Walker::walk() and ::paged_walk() for better readability and consistency with other notes. 2019-10-09 04:35:01 +00:00
class-wp-widget-factory.php Widgets: Remove WP_Widget_Factory::$hashed_class_counts property, unused since [46220]. 2019-12-01 12:13:01 +00:00
class-wp-widget.php Docs: Correct spelling of "subclass" and "overridden" in various docblocks and error messages. 2019-11-17 07:43:01 +00:00
class-wp-xmlrpc-server.php XML-RPC: Unify some "could not be created/updated/deleted" error messages for consistency. 2019-12-05 13:48:03 +00:00
class-wp.php Docs: Use the {@see ...} tag for the replacement in @deprecated tags, so that Developer Reference could automatically link to the replacement. 2019-11-09 13:05:02 +00:00
class.wp-dependencies.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class.wp-scripts.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class.wp-styles.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
comment-template.php Docs: Correct various docblocks documentation. 2019-12-06 22:23:04 +00:00
comment.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +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
default-constants.php Bundled Themes: Make Twenty Twenty the new default theme. 2019-09-23 21:00:58 +00:00
default-filters.php Coding Standards: Correct the number of accepted arguments in add_action() calls in wp-includes/default-filters.php for functions that don't accept any arguments. 2019-10-08 03:20:02 +00:00
default-widgets.php
deprecated.php Taxonomy: Remove redundant caching from get_all_category_ids(), deprecated in favor of get_terms() in [28679]. 2019-12-02 14:49:01 +00:00
embed-template.php Docs: Use 3-digit, x.x.x-style semantic versioning for _doing_it_wrong(), _deprecated_function(), _deprecated_argument(), and _deprecated_file() throughout core. 2016-07-06 12:40:29 +00:00
embed.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +00:00
error-protection.php
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss2-comments.php
feed-rss2.php
feed-rss.php
feed.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
formatting.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +00:00
functions.php Upload: fix wp_unique_filename() to prevent name collisions with existing or future image sub-size file names, and add unit tests. 2019-12-06 22:28:00 +00:00
functions.wp-scripts.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +00:00
functions.wp-styles.php Docs: Correct the documentation placement for wp_print_styles and shortcode_atts_{$shortcode} hooks. 2019-11-09 13:43:01 +00:00
general-template.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
http.php Docs: In various @return tags, list the expected type first, instead of WP_Error. 2019-11-11 02:43:03 +00:00
kses.php KSES: Add support for gradient backgrounds. 2019-11-28 00:29:02 +00:00
l10n.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +00:00
link-template.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
load.php Docs: Adjust wp_is_json_request() and wp_is_xml_request() return value descriptions for consistency. 2019-11-22 18:28:04 +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 Accessibility: Add an aria-current attribute to the Media Library switch links. 2019-11-18 16:51:02 +00:00
media.php Media: Avoid a PHP notice in image_downsize() when trying to replace a non-image URL with a rendered image from its meta. 2019-11-25 10:07:02 +00:00
meta.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +00:00
ms-blogs.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +00:00
ms-files.php
ms-functions.php REST API: Use strict in_array() checks for the list of usernames blacklisted via illegal_user_logins filter. 2019-11-29 22:04:02 +00:00
ms-load.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +00:00
ms-network.php
ms-settings.php
ms-site.php Docs: Use the {@see ...} tag for the replacement in @deprecated tags, so that Developer Reference could automatically link to the replacement. 2019-11-09 13:05:02 +00:00
nav-menu-template.php Docs: Switch more docs over to typed array notation, plus some fixes. 2019-10-26 21:09:04 +00:00
nav-menu.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
option.php Options, Meta APIs: Update @since version for the $force_cache parameter added for wp_load_alloptions() in [46753] to 5.3.1. 2019-11-25 13:44:02 +00:00
pluggable-deprecated.php
pluggable.php Build/Test Tools: Adjust the test for wp_redirect() status codes added in [46641] per the documentation and coding standards. 2019-11-04 12:59:01 +00:00
plugin.php Plugins: In _wp_filter_build_unique_id(), remove $wp_filter global and $filter_id_count static variable, unused since [46220]. 2019-11-29 22:14:01 +00:00
post-formats.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
post-template.php Docs: Miscellaneous docblock corrections. 2019-10-28 19:48:01 +00:00
post-thumbnail-template.php
post.php Docs: In various @return tags, list the expected type first, instead of WP_Error. 2019-11-11 02:43:03 +00:00
query.php Docs: Improve documentation of known return types, plus other docs fixes. 2019-11-05 21:23:02 +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 Docs: In various @return tags, list the expected type first, instead of WP_Error. 2019-11-11 02:43:03 +00:00
revision.php Docs: Correct various docblocks documentation. 2019-12-06 22:23:04 +00:00
rewrite.php
rss-functions.php Docs: Add missing @deprecated tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
rss.php
script-loader.php Script Loader: In wp_default_packages_inline_scripts(), make sure the root URL middleware is registered before using the media middleware. 2019-11-11 15:10:02 +00:00
session.php Docs: Add missing @deprecated tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
shortcodes.php Docs: Correct the documentation placement for wp_print_styles and shortcode_atts_{$shortcode} hooks. 2019-11-09 13:43:01 +00:00
spl-autoload-compat.php
taxonomy.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
template-loader.php
template.php Docs: Add missing description for $comment global. 2019-10-04 22:19:57 +00:00
theme.php Docs: Correct various docblocks documentation. 2019-12-06 22:23:04 +00:00
update.php
user.php Docs: Increase the specificity of various docblock parameter types and return types. 2019-12-06 22:43:04 +00:00
vars.php
version.php Accessibility: Menus: Properly disable form controls on the Menus screen that cannot be used until at least one menu is created. 2019-12-09 13:49:03 +00:00
widgets.php Docs: Add a @since note about new parameters with the spread operator added to function signatures. 2019-10-09 04:28:02 +00:00
wlwmanifest.xml
wp-db.php Docs: In various @return tags, list the expected type first, instead of WP_Error. 2019-11-11 02:43:03 +00:00
wp-diff.php