WordPress/wp-includes
Sergey Biryukov 72373078d1 Tests: Correct the order of expected and actual values in wp_validate_boolean() tests.
This corrects the order of the parameters when used in assertions so if/when they fail the failure message is correct.

Additionally, this commit moves the test function before the data provider, for consistency with other tests.

Follow-up to [46159], [46224].

See #54725.
Built from https://develop.svn.wordpress.org/trunk@52775


git-svn-id: http://core.svn.wordpress.org/trunk@52364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-19 12:42:01 +00:00
..
assets Editor: Update block editor packages for WordPress 5.9.1. 2022-02-17 19:18:25 +00:00
block-patterns
block-supports Editor: Automatically apply global styles duotone filters to render in post editor. 2022-02-17 20:45:00 +00:00
blocks Editor: Update block editor packages for WordPress 5.9.1. 2022-02-17 19:18:25 +00:00
certificates
css Editor: Update block editor packages for WordPress 5.9.1. 2022-02-17 19:18:25 +00:00
customize Customizer: Remove Menus panel when a theme does not support menus 2022-01-24 05:34:04 +00:00
fonts
ID3
images
IXR
js Editor: Update block editor packages for WordPress 5.9.1. 2022-02-17 19:18:25 +00:00
php-compat
PHPMailer External Libraries: Upgrade PHPMailer to version 6.5.4. 2022-02-17 13:23:04 +00:00
pomo Code Modernization: Use stream_get_contents() in POMO_FileReader::read_all(). 2022-02-09 12:33:05 +00:00
random_compat External Libraries: Update random_compat to version 2.0.21. 2022-02-16 21:19:04 +00:00
Requests
rest-api Global Styles: Fix PHP warning in WP_REST_Global_Styles_Controller if no styles exist. 2022-02-17 13:47:59 +00:00
SimplePie
sitemaps Docs: Miscellaneous docblock corrections in REST API and Sitemaps API. 2022-01-15 21:22:02 +00:00
sodium_compat
Text
theme-compat
widgets Docs: Replace "Current theme" with "Active theme" in various DocBlocks. 2022-01-20 23:53:05 +00:00
admin-bar.php Toolbar: Show the Customize link on front end when using a block theme if any plugins use the Customizer. 2021-12-25 03:17:04 +00:00
atomlib.php
author-template.php Coding Standards: Remove an extra variable in get_author_posts_url(). 2022-01-12 11:17:08 +00:00
block-editor.php Global Styles: Load the global styles before the theme styles in the editor. 2022-02-17 14:14:01 +00:00
block-i18n.json
block-patterns.php Docs: Fix typos in some DocBlocks. 2022-01-18 20:29:06 +00:00
block-template-utils.php Docs: Docblock corrections for get_block_file_template(). 2022-01-24 15:28:02 +00:00
block-template.php Query: Check if the theme supports block-templates before calling locate_block_template() in get_query_template(). 2022-02-09 13:22:03 +00:00
blocks.php Script Loader: Improvements to the load block support styles mechanism. 2022-02-16 22:20:01 +00:00
bookmark-template.php
bookmark.php
cache-compat.php Cache API: Add wp_cache_flush_runtime function 2022-02-18 12:06:03 +00:00
cache.php Cache API: Add wp_cache_flush_runtime function 2022-02-18 12:06:03 +00:00
canonical.php
capabilities.php
category-template.php
category.php
class-feed.php
class-http.php
class-IXR.php
class-json.php
class-oembed.php
class-phpass.php
class-phpmailer.php
class-pop3.php
class-requests.php
class-simplepie.php External Libraries: Update the SimplePie library to version 1.5.8. 2021-12-24 18:06:06 +00:00
class-smtp.php
class-snoopy.php
class-walker-category-dropdown.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-walker-category.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-walker-comment.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-walker-nav-menu.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-walker-page-dropdown.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-walker-page.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-admin-bar.php
class-wp-ajax-response.php
class-wp-application-passwords.php
class-wp-block-editor-context.php
class-wp-block-list.php
class-wp-block-parser.php
class-wp-block-pattern-categories-registry.php
class-wp-block-patterns-registry.php
class-wp-block-styles-registry.php
class-wp-block-supports.php
class-wp-block-template.php
class-wp-block-type-registry.php
class-wp-block-type.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-block.php
class-wp-comment-query.php Cache: Use wp_cache_*_multiple() in core functions. 2022-02-11 18:51:59 +00:00
class-wp-comment.php
class-wp-customize-control.php
class-wp-customize-manager.php Docs: Replace "Current theme" with "Active theme" in various DocBlocks. 2022-01-20 23:53:05 +00:00
class-wp-customize-nav-menus.php
class-wp-customize-panel.php Customizer: Remove Menus panel when a theme does not support menus 2022-01-24 05:34:04 +00:00
class-wp-customize-section.php
class-wp-customize-setting.php
class-wp-customize-widgets.php Customizer: Remove Widgets panel when a theme does not support widgets 2022-01-24 05:37:01 +00:00
class-wp-date-query.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-dependency.php
class-wp-editor.php
class-wp-embed.php
class-wp-error.php
class-wp-fatal-error-handler.php
class-wp-feed-cache-transient.php
class-wp-feed-cache.php
class-wp-hook.php
class-wp-http-cookie.php
class-wp-http-curl.php
class-wp-http-encoding.php Docs: Fix typos in some DocBlocks. 2022-01-18 20:29:06 +00:00
class-wp-http-ixr-client.php
class-wp-http-proxy.php
class-wp-http-requests-hooks.php
class-wp-http-requests-response.php
class-wp-http-response.php
class-wp-http-streams.php Docs: Typo corrections in various API docblocks. 2022-02-04 16:28:00 +00:00
class-wp-http.php Docs: Fix typos in some DocBlocks. 2022-01-18 20:29:06 +00:00
class-wp-image-editor-gd.php Build/Test Tools: Update PHPCompatibilityWP to version 2.1.3. 2021-12-31 13:55:03 +00:00
class-wp-image-editor-imagick.php Docs: Update spelling for inline comments in a few files. 2022-01-25 13:55:05 +00:00
class-wp-image-editor.php Media: Typo correction in wp_image_maybe_exif_rotate docblock. 2022-01-13 19:14:05 +00:00
class-wp-list-util.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-locale-switcher.php
class-wp-locale.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-matchesmapregex.php
class-wp-meta-query.php Query: Improve sanitization within WP_Meta_Query. 2022-01-06 17:05:02 +00:00
class-wp-metadata-lazyloader.php
class-wp-network-query.php
class-wp-network.php
class-wp-object-cache.php Docs: Improve @return tags for wp_cache_*_multiple() functions: 2022-02-11 19:21:01 +00:00
class-wp-oembed-controller.php
class-wp-oembed.php
class-wp-paused-extensions-storage.php
class-wp-post-type.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-post.php
class-wp-query.php
class-wp-recovery-mode-cookie-service.php
class-wp-recovery-mode-email-service.php Administration: Replace "Current theme" with "Active theme" in user facing strings. 2022-01-15 08:44:03 +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: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-role.php
class-wp-roles.php
class-wp-session-tokens.php
class-wp-simplepie-file.php
class-wp-simplepie-sanitize-kses.php Docs: Typo corrections in various API docblocks. 2022-02-04 16:28:00 +00:00
class-wp-site-query.php
class-wp-site.php
class-wp-tax-query.php Query: Improve sanitization within WP_Meta_Query. 2022-01-06 17:05:02 +00:00
class-wp-taxonomy.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-term-query.php Taxonomy: Remove cache expiry limitation in WP_Term_Query. 2022-02-03 17:43:06 +00:00
class-wp-term.php
class-wp-text-diff-renderer-inline.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-text-diff-renderer-table.php Docs: Typo corrections in various API docblocks. 2022-02-04 16:28:00 +00:00
class-wp-theme-json-resolver.php Themes: Allow extending WP_Theme_JSON and WP_Theme_JSON_Resolver classes. 2022-02-17 09:04:05 +00:00
class-wp-theme-json-schema.php
class-wp-theme-json.php Editor: Adds an additional check to guard against incompete presets. 2022-02-17 18:47:02 +00:00
class-wp-theme.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Role/Capability: Correct the documented accepted types for the capability argument of WP_User_Query. 2022-01-30 19:34:00 +00:00
class-wp-user-request.php
class-wp-user.php
class-wp-walker.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-widget-factory.php
class-wp-widget.php
class-wp-xmlrpc-server.php XML-RPC: Fix typos in some XMLRPC related docblocks. 2022-01-14 14:45:05 +00:00
class-wp.php
class.wp-dependencies.php
class.wp-scripts.php Docs: Replace "Current theme" with "Active theme" in various DocBlocks. 2022-01-20 23:53:05 +00:00
class.wp-styles.php Docs: Replace "Current theme" with "Active theme" in various DocBlocks. 2022-01-20 23:53:05 +00:00
comment-template.php
comment.php Cache: Use wp_cache_*_multiple() in core functions. 2022-02-11 18:51:59 +00:00
compat.php Build/Test Tools: Update PHPCompatibilityWP to version 2.1.3. 2021-12-31 13:55:03 +00:00
cron.php
date.php
default-constants.php Docs: Replace "Current theme" with "Active theme" in various DocBlocks. 2022-01-20 23:53:05 +00:00
default-filters.php Editor: Automatically apply global styles duotone filters to render in post editor. 2022-02-17 20:45:00 +00:00
default-widgets.php
deprecated.php Editor: Backport Duotone fixes for 5.9.1. 2022-02-17 16:18:03 +00:00
embed-template.php
embed.php Embeds: Fix oEmbed host script enqueueing on block-based themes. 2022-01-04 15:23:59 +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
formatting.php Docs: Update spelling for inline comments in a few files. 2022-01-25 13:55:05 +00:00
functions.php Docs: Fix typo in a comment in wp_get_image_mime(). 2022-02-12 14:45:00 +00:00
functions.wp-scripts.php
functions.wp-styles.php
general-template.php
global-styles-and-settings.php Editor: Backport Duotone fixes for 5.9.1. 2022-02-17 16:18:03 +00:00
http.php Docs: Correct description for two HTTP API functions: 2022-01-13 01:04:01 +00:00
https-detection.php
https-migration.php
kses.php Docs: Fix an error in wp_kses_attr() docblock. 2022-02-08 16:25:01 +00:00
l10n.php
link-template.php Database: Add missing AS after INNER JOIN in some queries. 2022-01-11 04:12:05 +00:00
load.php
locale.php
media-template.php
media.php Media: Display an error message in grid view if the attachment could not be deleted. 2022-02-14 14:21:05 +00:00
meta.php Cache: Use wp_cache_*_multiple() in core functions. 2022-02-11 18:51:59 +00:00
ms-blogs.php
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php
ms-files.php Multisite: Log error/warnings/notices from ms-files.php. 2021-07-06 20:21:57 +00:00
ms-functions.php Networks and Sites: Remove unnecessary commented code from remove_user_from_blog(). 2022-02-15 21:21:00 +00:00
ms-load.php
ms-network.php Cache: Use wp_cache_*_multiple() in core functions. 2022-02-11 18:51:59 +00:00
ms-settings.php
ms-site.php Cache: Use wp_cache_*_multiple() in core functions. 2022-02-11 18:51:59 +00:00
nav-menu-template.php Coding Standards: Rename $r variable to $args for clarity in walk_nav_menu_tree(). 2022-02-07 14:01:05 +00:00
nav-menu.php
option.php Cache: Use wp_cache_*_multiple() in core functions. 2022-02-11 18:51:59 +00:00
pluggable-deprecated.php
pluggable.php Docs: Miscellaneous inline documentation improvements. 2021-12-29 17:28:00 +00:00
plugin.php
post-formats.php
post-template.php Coding Standards: Rename $r variable to $args for clarity in walk_page_tree(). 2022-02-07 14:21:01 +00:00
post-thumbnail-template.php Media: Add a missing / in post thumbnail lazy loading regex. 2022-01-14 11:02:06 +00:00
post.php Editor: Grant only admins access to the "Navigation Menus" UI for block and non-block themes. 2022-02-17 15:11:01 +00:00
query.php
registration-functions.php
registration.php
rest-api.php
revision.php Revisions: Improve _set_preview for case when autosave is missing. 2022-01-04 00:20:01 +00:00
rewrite.php
robots-template.php
rss-functions.php
rss.php
script-loader.php Editor: Automatically apply global styles duotone filters to render in post editor. 2022-02-17 20:45:00 +00:00
session.php
shortcodes.php
sitemaps.php
spl-autoload-compat.php
taxonomy.php Cache: Use wp_cache_*_multiple() in core functions. 2022-02-11 18:51:59 +00:00
template-canvas.php
template-loader.php
template.php
theme-i18n.json
theme-templates.php
theme.json
theme.php Docs: Replace "Current theme" with "Active theme" in various DocBlocks. 2022-01-20 23:53:05 +00:00
update.php Docs: Replace "Current theme" with "Active theme" in various DocBlocks. 2022-01-20 23:53:05 +00:00
user.php Users: Return a WP_Error from wp_insert_user() if the user_url field is too long. 2022-01-29 14:25:03 +00:00
vars.php
version.php Tests: Correct the order of expected and actual values in wp_validate_boolean() tests. 2022-02-19 12:42:01 +00:00
widgets.php
wlwmanifest.xml
wp-db.php Docs: Further corrections and improvements to the inline documentation for wpdb. 2021-12-29 23:14:01 +00:00
wp-diff.php