WordPress/wp-includes
Sergey Biryukov 77f6357eac Tests: Replace `assertContains()` with `assertStringContainsString()` when used with strings.
Using the `assertContains()` and `assertNotContains()` methods with string haystacks was deprecated in PHPUnit 8 and removed in PHPUnit 9.

While WordPress test suite currently only supports PHPUnit up to 7.5.x, this allows us to switch to newer assertions ahead of adding full support for PHPUnit 8+.

These methods introduced in PHPUnit 7.5 should be used as an alternative:

* `assertStringContainsString()`
* `assertStringContainsStringIgnoringCase`
* `assertStringNotContainsString()`
* `assertStringNotContainsStringIgnoringCase`

As WordPress currently uses PHPUnit 5.7.x to run tests on PHP 5.6, polyfills for these methods were added to the `WP_UnitTestCase` class for PHPUnit < 7.5.

Follow-up to [51331], [51451], [51461].

Props jrf, dd32, SergeyBiryukov.
See #53363, #46149.
Built from https://develop.svn.wordpress.org/trunk@51462


git-svn-id: http://core.svn.wordpress.org/trunk@51073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-19 14:01:57 +00:00
..
ID3 External libraries: Include upstream GetID3 fix for PHP 8. 2021-04-14 23:10:04 +00:00
IXR XML-RPC: Set HTTP status code in accordance with the spec. 2021-05-24 02:18:58 +00:00
PHPMailer External Libraries: Upgrade PHPMailer to version 6.5.0. 2021-06-16 17:02:59 +00:00
Requests External Libraries: Update the Requests library to version `1.8.0`. 2021-05-11 19:42:02 +00:00
SimplePie External Libraries: Update the SimplePie library to version 1.5.6. 2020-10-16 17:20:07 +00:00
Text Code Modernization: Use `instanceof` instead of a comparison with `get_class()`. 2020-10-18 17:33:07 +00:00
assets Block Editor: Backport fixes targetted for WordPress 5.8 RC4. 2021-07-15 18:55:29 +00:00
block-patterns Block Editor: Backport fixes targetted for WordPress 5.8 RC4. 2021-07-15 18:55:29 +00:00
block-supports Docs: Undo the accidental revert of [51299] made in [51300]. 2021-07-01 21:29:56 +00:00
blocks Block Editor: Backport fixes targetted for WordPress 5.8 RC4. 2021-07-15 18:55:29 +00:00
certificates HTTP: Update the Root Certificate bundle. 2020-08-01 14:09:06 +00:00
css Build/Test Tools: Update the `caniuse` browser data and regenerate CSS. 2021-07-19 00:41:57 +00:00
customize Docs: Descriptive improvements and corrections for various docblocks. 2021-07-01 21:12:58 +00:00
fonts Administration: Reverse the arrow direction for database import/export icons. 2020-07-17 17:11:03 +00:00
images Customize: Move the WordPress logo with a white background to the `wp-includes` directory. 2020-05-21 09:10:12 +00:00
js Block Editor: Backport fixes targetted for WordPress 5.8 RC4. 2021-07-15 18:55:29 +00:00
pomo I18N: Correct recurring `lenghts` typo. 2021-07-06 13:52:57 +00:00
random_compat
rest-api Widgets: Prevent widgets unintentionally being moved to the inactive sidebar. 2021-07-14 16:45:58 +00:00
sitemaps Coding Standards: Add a space before `/` character in some self-closing HTML tags. 2021-03-20 18:30:08 +00:00
sodium_compat Upgrade/Install: Update sodium_compat to v1.16.1. 2021-05-25 13:55:58 +00:00
theme-compat Bundled Themes: Use HTTPS for XHTML Friends Network URL. 2020-07-03 23:42:01 +00:00
widgets Widgets: Validate HTML before saving block widgets. 2021-07-13 05:59:01 +00:00
admin-bar.php Network and Sites: Display site icons in the My Sites menu. 2021-05-10 18:24:01 +00:00
atomlib.php Feeds: Fix "Only variables should be passed by reference" PHP notice in `atomlib.php`. 2020-10-17 15:45:06 +00:00
author-template.php Users: Escape `get_author_posts_url()` link in `wp_list_authors()`. 2021-06-21 06:06:57 +00:00
block-editor.php Docs: Corrections and improvements to types used in docblocks for symbols, properties, and filters. 2021-07-01 21:02:57 +00:00
block-patterns.php Editor: Ensure the Query block pattern category is translatable. 2021-07-02 14:35:58 +00:00
block-template-utils.php Docs: Descriptive improvements and corrections for various docblocks. 2021-07-01 21:12:58 +00:00
block-template.php Remove unnecessary function_exists check in get_the_block_template_html 2021-07-02 21:52:57 +00:00
blocks.php Fix merge info. 2021-07-07 22:47:56 +00:00
bookmark-template.php Docs: Clarify that the `$class` argument of `wp_list_bookmarks()` can accept an array. 2020-11-24 12:29:07 +00:00
bookmark.php General: Ensure consistent type for integer properties of a bookmark object. 2021-05-20 00:04:56 +00:00
cache-compat.php Docs: Add missing documentation for the `$group` parameter of `WP_Object_Cache::get_multiple()`. 2020-06-10 09:57:09 +00:00
cache.php Docs: Upgrade more parameters in docblocks to used typed array notation. 2020-11-24 21:27:05 +00:00
canonical.php Permalinks: Revert the changes stemming from pagination limits. 2021-06-08 23:32:56 +00:00
capabilities.php Roles/Caps: Return same result from `current_user_can` and `user_can()`. 2021-03-04 00:14:04 +00:00
category-template.php Docs: Add and correct examples of common names for various dynamic hooks. 2021-07-03 21:42:59 +00:00
category.php Docs: Miscellaneous DocBlock corrections. 2020-07-23 21:55:04 +00:00
class-IXR.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +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: Undo the accidental revert of [51299] made in [51300]. 2021-07-01 21:29:56 +00:00
class-json.php Coding Standards: Pass an empty string instead of `null` as the `$replacement` parameter to `_deprecated_file()`. 2020-11-12 11:17:07 +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 External Libraries: Update the phpass library to version `0.5`. 2021-05-25 18:47:59 +00:00
class-phpmailer.php Mail: Make sure the `PHPMailer` class is only required once if a plugin requires `wp-includes/class-phpmailer.php` directly. 2020-07-21 12:58:02 +00:00
class-pop3.php General: More PHP compatibility adjustments. 2020-05-01 20:12:06 +00:00
class-requests.php External Libraries: Update the Requests library to version 1.8.1. 2021-06-06 14:05:56 +00:00
class-simplepie.php External Libraries: Update the SimplePie library to version 1.5.6. 2020-10-16 17:20:07 +00:00
class-smtp.php Mail: Make sure the `SMTP` class is only required once if a plugin requires `wp-includes/class-smtp.php` directly. 2021-01-26 13:45:57 +00:00
class-snoopy.php General: Fix various issues flagged by the PHPCompatibilityWP PHPCS ruleset. 2020-05-01 19:07:09 +00:00
class-walker-category-dropdown.php Docs: Fix and upgrade various `object` docblock notations. 2020-10-17 16:05:09 +00:00
class-walker-category.php Docs: Fix and upgrade various `object` docblock notations. 2020-10-17 16:05:09 +00:00
class-walker-comment.php Comments: Remove fourth parameter on `remove_filter` call. 2021-05-05 18:54:57 +00:00
class-walker-nav-menu.php Docs: Correct the `aria-current` array key in the documentation for two widget filters. 2021-05-07 09:46:58 +00:00
class-walker-page-dropdown.php
class-walker-page.php Docs: Correct the `aria-current` array key in the documentation for two widget filters. 2021-05-07 09:46:58 +00:00
class-wp-admin-bar.php Docs: Improve description for `WP_Admin_Bar::add_group()`. 2020-08-19 02:46:04 +00:00
class-wp-ajax-response.php Docs: Replace "html" and "xhtml" instances in DocBlocks and comments with "HTML" and "XHTML". 2020-06-28 14:02:06 +00:00
class-wp-application-passwords.php Docs: Update documentation for `WP_Application_Passwords::application_name_exists_for_user()` per the documentation standards. 2021-01-28 13:10:57 +00:00
class-wp-block-editor-context.php Editor: Add missing class WP_Block_Editor_Context 2021-05-24 07:38:58 +00:00
class-wp-block-list.php Editor: Introduce WP_Block and WP_Block_List classes 2020-06-25 05:16:11 +00:00
class-wp-block-parser.php Editor: Update @wordpress npm packages 2021-02-02 05:17:13 +00:00
class-wp-block-pattern-categories-registry.php Coding Standards: Remove a one-time `$message` variable in some `_doing_it_wrong()` calls. 2021-06-15 15:22:58 +00:00
class-wp-block-patterns-registry.php Coding Standards: Remove a one-time `$message` variable in some `_doing_it_wrong()` calls. 2021-06-15 15:22:58 +00:00
class-wp-block-styles-registry.php Coding Standards: Remove a one-time `$message` variable in some `_doing_it_wrong()` calls. 2021-06-15 15:22:58 +00:00
class-wp-block-supports.php Editor: Update @wordpress npm packages 2021-01-28 02:04:13 +00:00
class-wp-block-template.php Block Editor: Introduce block templates for classic themes. 2021-05-25 14:20:57 +00:00
class-wp-block-type-registry.php Coding Standards: Remove a one-time `$message` variable in some `_doing_it_wrong()` calls. 2021-06-15 15:22:58 +00:00
class-wp-block-type.php Build/Test Tools: Revert [51259-51256,51265]. 2021-06-30 02:14:56 +00:00
class-wp-block.php Docs: Corrections and improvements to types used in docblocks for symbols, properties, and filters. 2021-07-01 21:02:57 +00:00
class-wp-comment-query.php Docs: Corrections and improvements to types used in docblocks for symbols, properties, and filters. 2021-07-01 21:02:57 +00:00
class-wp-comment.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-wp-customize-control.php Adds the widgets block editor to widgets.php and customize.php 2021-05-25 08:40:25 +00:00
class-wp-customize-manager.php Coding Standards: Remove a one-time `$message` variable in some `_doing_it_wrong()` calls. 2021-06-15 15:22:58 +00:00
class-wp-customize-nav-menus.php Coding Standards: Use strict comparison in `wp-includes/class-wp-customize-nav-menus.php`. 2021-05-30 19:18:01 +00:00
class-wp-customize-panel.php Coding Standards: Replace `echo sprintf()` with `printf()`. 2020-06-20 13:18:11 +00:00
class-wp-customize-section.php Docs: Add a reference to `WP_Customize_Section::__construct()` for information on accepted arguments in `WP_Customize_Manager::add_section()`. 2020-02-27 20:29:06 +00:00
class-wp-customize-setting.php Plugins: Replace usage of `$this` in action and filter parameter docblocks with more appropriate variable names. 2021-01-08 14:30:14 +00:00
class-wp-customize-widgets.php Coding Standards: Use the correct formatting for multi-line comments. 2021-07-13 18:02:57 +00:00
class-wp-date-query.php Docs: Document parameters that accept an array of integers using typed array notation. 2020-11-19 18:24:09 +00:00
class-wp-dependency.php Docs: Various corrections to inline docblocks. 2020-07-23 00:48:06 +00:00
class-wp-editor.php TinyMCE: ensure initialization runs in all cases on 'interactive' and 'complete' readyState. Fixes a rare bug when the init code is inserted in the DOM after the page has finished loading. 2021-07-10 23:58:57 +00:00
class-wp-embed.php Administration: Consistently escape `admin_url()` links. 2021-06-17 14:37:00 +00:00
class-wp-error.php General: Docblock improvements for the `WP_Error` class. 2020-10-09 22:30:04 +00:00
class-wp-fatal-error-handler.php Booststrap/Load: Only reference recovery mode email when it can be sent. 2021-06-05 15:46:57 +00:00
class-wp-feed-cache-transient.php
class-wp-feed-cache.php Feeds: Register transient feed cache handler using the recommended method for SimplePie 1.3 or later. 2020-11-12 14:36:10 +00:00
class-wp-hook.php Docs: Further synchronize documentation for some Plugin API functions. 2021-05-04 15:01:58 +00:00
class-wp-http-cookie.php Docs: Further corrections and improvements to various inline docblocks. 2020-07-23 07:39:02 +00:00
class-wp-http-curl.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
class-wp-http-encoding.php Docs: In various `@return` tags, list the expected type first, instead of `false`. 2021-01-15 20:08:07 +00:00
class-wp-http-ixr-client.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-wp-http-proxy.php Docs: Miscellaneous docblock improvements. 2020-06-26 18:40:04 +00:00
class-wp-http-requests-hooks.php Docs: Descriptive improvements and corrections for various docblocks. 2021-07-01 21:12:58 +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 Docs: Corrections and improvements to types used in docblocks for symbols, properties, and filters. 2021-07-01 21:02:57 +00:00
class-wp-image-editor-gd.php Docs: Corrections and improvements to types used in docblocks for symbols, properties, and filters. 2021-07-01 21:02:57 +00:00
class-wp-image-editor-imagick.php Media: When resizing WebP images set the compression to "lossy" by default. Fixes a bug where the compression was set to "lossless" when the uploaded WebP images have extended file format (`VP8X`). 2021-07-15 00:43:00 +00:00
class-wp-image-editor.php Media: Document edge cases with the new `image_editor_output_format` filter. 2021-07-15 17:39:59 +00:00
class-wp-list-util.php Docs: Improve documentation for `wp_list_filter()` and `wp_filter_object_list()`. 2021-05-28 18:04:57 +00:00
class-wp-locale-switcher.php I18N: Revert [49236] for now to investigate alternative implementations. 2020-11-12 14:43:09 +00:00
class-wp-locale.php Docs: Update the URL for PHP date formats table in translator comments. 2020-09-18 10:37:08 +00:00
class-wp-matchesmapregex.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
class-wp-meta-query.php Query: Consistently include a space in parentheses in `WP_Meta_Query::get_sql_for_clause()`. 2021-03-25 12:39:07 +00:00
class-wp-metadata-lazyloader.php Docs: Various docblock corrections particularly relating to boolean types. 2021-01-03 21:57:09 +00:00
class-wp-network-query.php Plugins: Replace usage of `$this` in action and filter parameter docblocks with more appropriate variable names. 2021-01-08 14:30:14 +00:00
class-wp-network.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-wp-object-cache.php Docs: Various docblock corrections relating to parameter types. 2020-11-24 21:22:04 +00:00
class-wp-oembed-controller.php Docs: Document the usage of `$wp_embed` global in `WP_oEmbed_Controller::get_proxy_item()`. 2021-06-15 10:24:57 +00:00
class-wp-oembed.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-wp-paused-extensions-storage.php Docs: Remove an empty line between `@param` and `@return` tags, per the documentation standards. 2020-06-20 11:18:09 +00:00
class-wp-post-type.php Docs: Various docblock improvements. 2020-12-10 23:59:03 +00:00
class-wp-post.php Docs: Docblock corrections relating to `WP_Post` objects. 2020-11-09 15:15:08 +00:00
class-wp-query.php Docs: Undo the accidental revert of [51299] made in [51300]. 2021-07-01 21:29:56 +00:00
class-wp-recovery-mode-cookie-service.php Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00
class-wp-recovery-mode-email-service.php Coding Standards: Move some translator comments to the correct place. 2021-04-04 18:30:05 +00:00
class-wp-recovery-mode-key-service.php Docs: Remove unnecessary variables names from `@return` tags. 2020-06-19 22:55:12 +00:00
class-wp-recovery-mode-link-service.php Docs: Document the usage of `$pagenow` global in a few functions. 2021-02-22 19:18:12 +00:00
class-wp-recovery-mode.php Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00
class-wp-rewrite.php Docs: Miscellaneous docblock improvements. 2021-07-05 15:48:00 +00:00
class-wp-role.php Docs: Various formatting improvements to inline docblocks. 2020-07-23 00:52:05 +00:00
class-wp-roles.php Docs: First pass at some inline docs fixes mostly made by PHPCBF. 2020-07-23 20:01:04 +00:00
class-wp-session-tokens.php Code Modernization: Remove `final` keyword from private methods. 2020-08-12 15:05:08 +00:00
class-wp-simplepie-file.php Docs: Miscellaneous DocBlock corrections. 2021-05-15 17:38:05 +00:00
class-wp-simplepie-sanitize-kses.php Docs: Standardise the type name for booleans and integers. 2020-10-10 20:02:05 +00:00
class-wp-site-query.php Docs: Add a reference to `WP_Site_Query::__construct()` for information on accepted arguments in `get_sites()`. 2021-06-19 20:57:01 +00:00
class-wp-site.php Docs: Various docblock corrections and improvements. 2021-02-20 17:10:11 +00:00
class-wp-tax-query.php Docs: Improve docs for arguments that accept a numerically indexed array of associative arrays. 2020-07-14 12:10:05 +00:00
class-wp-taxonomy.php Taxonomy: Reorder some `WP_Taxonomy` properties for consistency. 2021-02-01 11:55:00 +00:00
class-wp-term-query.php Docs: Undo the accidental revert of [51299] made in [51300]. 2021-07-01 21:29:56 +00:00
class-wp-term.php Docs: Various docblock corrections. 2020-12-10 23:53:07 +00:00
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php Revisions: Generate correct number of columns in wp_text_diff. 2021-01-27 21:53:58 +00:00
class-wp-theme-json-resolver.php Docs: Improve documentation for optional parameters in `WP_Theme_JSON_Resolver` methods per the documentation standards. 2021-06-30 17:20:58 +00:00
class-wp-theme-json.php Block Editor: Backport fixes targetted for WordPress 5.8 RC4. 2021-07-15 18:55:29 +00:00
class-wp-theme.php Docs: Add `@since` tags for `WP_Theme` class properties. 2021-07-04 09:58:58 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Plugins: Replace usage of `$this` in action and filter parameter docblocks with more appropriate variable names. 2021-01-08 14:30:14 +00:00
class-wp-user-request.php Docs: Add missing `@since` tags for `WP_User_Request` properties. 2020-03-23 20:20:09 +00:00
class-wp-user.php Roles/Caps: Return same result from `current_user_can` and `user_can()`. 2021-03-04 00:14:04 +00:00
class-wp-walker.php Code Modernization: Use a consistent check for parent items in `WP_Walker`. 2021-06-22 19:09:00 +00:00
class-wp-widget-factory.php Widgets: Fix widget preview not working if widget registered via a instance 2021-06-23 01:34:58 +00:00
class-wp-widget.php Coding Standards: Simplify the logic in `WP_Widget::get_field_name()` and `::get_field_id()`. 2021-06-04 10:47:58 +00:00
class-wp-xmlrpc-server.php XML-RPC: Set HTTP status code in accordance with the spec. 2021-05-24 02:18:58 +00:00
class-wp.php Comments: Extend the duration of the window within which unapproved comments are visible by their author. 2021-02-09 16:57:04 +00:00
class.wp-dependencies.php Script Loader: Add the `$group` parameter to `WP_Dependencies::do_item()`. 2020-05-06 16:27:12 +00:00
class.wp-scripts.php Script Loader: Prevent `wp_localize_script()` warnings. 2021-02-22 23:23:07 +00:00
class.wp-styles.php Docs: Use correct variable in the `style_loader_tag` filter DocBlock. 2021-02-27 17:59:03 +00:00
comment-template.php Docs: Add and correct examples of common names for various dynamic hooks. 2021-07-03 21:42:59 +00:00
comment.php Docs: Clarify return results for a non-existing ID in metadata functions. 2021-04-02 15:49:05 +00:00
compat.php Media: Some documentation and test improvements for WebP support: 2021-05-05 17:08:01 +00:00
cron.php Cron API: Add a missing `$wp_error` parameter to the `pre_reschedule_event` filter. 2021-02-20 12:11:03 +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 Bundled Themes: Make Twenty Twenty-One the default theme. 2020-10-20 02:04:07 +00:00
default-filters.php Widgets: Warn when wp-editor script or wp-edit-post style is enqueued in widgets editor 2021-07-09 01:18:57 +00:00
default-widgets.php REST API: Add widget endpoints 2021-05-25 08:27:57 +00:00
deprecated.php Posts: Prevent an empty excerpt when groups and nested column blocks are present. 2021-07-06 15:32:57 +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 Docs: Corrections and improvements to types used in docblocks for symbols, properties, and filters. 2021-07-01 21:02:57 +00:00
error-protection.php Docs: Add more information about how to use filters that run before WordPress initialises. 2020-11-03 17:36:09 +00:00
feed-atom-comments.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
feed-atom.php Coding Standards: Add a space before `/` character in some self-closing HTML tags. 2021-03-20 18:30:08 +00:00
feed-rdf.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-rss2-comments.php Docs: Use more appropriate variable names in the inline docs for action and filter parameters. 2020-07-23 19:06:03 +00:00
feed-rss2.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed.php Docs: Miscellaneous DocBlock corrections. 2021-05-15 17:38:05 +00:00
formatting.php Emoji: Update the Twemoji library to version 13.1.0. 2021-06-08 22:15:12 +00:00
functions.php Docs: Descriptive improvements and corrections for various docblocks. 2021-07-01 21:12:58 +00:00
functions.wp-scripts.php Coding Standards: Remove a one-time `$message` variable in some `_doing_it_wrong()` calls. 2021-06-15 15:22:58 +00:00
functions.wp-styles.php Script Loader: Include the script or style handle in `_wp_scripts_maybe_doing_it_wrong()` message. 2020-06-17 10:16:08 +00:00
general-template.php Docs: Corrections and improvements to types used in docblocks for symbols, properties, and filters. 2021-07-01 21:02:57 +00:00
http.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
https-detection.php Docs: Miscellaneous DocBlock corrections. 2021-05-15 17:38:05 +00:00
https-migration.php Security, Site Health: Make migrating a site to HTTPS a one-click interaction. 2021-02-02 00:10:01 +00:00
kses.php Docs: Descriptive improvements and corrections for various docblocks. 2021-07-01 21:12:58 +00:00
l10n.php Docs: Corrections and improvements to types used in docblocks for symbols, properties, and filters. 2021-07-01 21:02:57 +00:00
link-template.php Coding Standards: Remove redundant type casting to array in `WP_Query::get_posts()`. 2021-06-30 17:44:58 +00:00
load.php Multisite: Log error/warnings/notices from `ms-files.php`. 2021-07-06 20:21:57 +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 Coding Standards: Add missing semicolon to `endforeach` keywords in media templates. 2021-07-10 10:40:58 +00:00
media.php Coding Standards: Fix WPCS issues in [51227]. 2021-06-24 20:55:58 +00:00
meta.php Docs: Document common names for dynamic hooks relating to metadata. 2021-07-03 21:32:58 +00:00
ms-blogs.php Docs: Fix and upgrade various `object` docblock notations. 2020-10-17 16:05:09 +00:00
ms-default-constants.php Docs: Remove `@staticvar` tags from core. 2020-06-20 12:40:12 +00:00
ms-default-filters.php Multisite: Delete the signup entry when a user is deleted from the database. 2020-07-05 11:21:03 +00:00
ms-deprecated.php Docs: Document parameters that accept an array of integers using typed array notation. 2020-11-19 18:24:09 +00:00
ms-files.php Multisite: Log error/warnings/notices from `ms-files.php`. 2021-07-06 20:21:57 +00:00
ms-functions.php Docs: Corrections and improvements to types used in various docblocks. 2021-01-05 17:16:11 +00:00
ms-load.php Docs: Further corrections and promotions for docblocks relating to `object` types. 2020-10-18 20:53:08 +00:00
ms-network.php Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:27:06 +00:00
ms-settings.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
ms-site.php Docs: Add a reference to `WP_Site_Query::__construct()` for information on accepted arguments in `get_sites()`. 2021-06-19 20:57:01 +00:00
nav-menu-template.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
nav-menu.php Docs: Undo the accidental revert of [51299] made in [51300]. 2021-07-01 21:29:56 +00:00
option.php Docs: Correct `@see` references for hooks in the `get_option()` description. 2021-07-03 11:31:58 +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 Docs: Undo the accidental revert of [51299] made in [51300]. 2021-07-01 21:29:56 +00:00
plugin.php Docs: Further synchronize documentation for some Plugin API functions. 2021-05-04 15:01:58 +00:00
post-formats.php Docs: Upgrade more parameters in docblocks to used typed array notation. 2020-11-24 21:27:05 +00:00
post-template.php Posts, Post Types: Pass the post object to `the_password_form` filter. 2021-04-26 15:38:05 +00:00
post-thumbnail-template.php Docs: Clarify the `@return` value for `wp_get_attachment_image_url()` and `get_the_post_thumbnail_url()`. 2021-02-08 14:14:08 +00:00
post.php Docs: Synchronize the `$post_id` argument description for some post and attachment functions. 2021-07-14 08:14:01 +00:00
query.php Coding Standards: Remove a one-time `$message` variable in some `_doing_it_wrong()` calls. 2021-06-15 15:22:58 +00:00
registration-functions.php Coding Standards: Pass an empty string instead of `null` as the `$replacement` parameter to `_deprecated_file()`. 2020-11-12 11:17:07 +00:00
registration.php Coding Standards: Pass an empty string instead of `null` as the `$replacement` parameter to `_deprecated_file()`. 2020-11-12 11:17:07 +00:00
rest-api.php Docs: Document the globals used in some REST API methods. 2021-06-30 12:34:56 +00:00
revision.php Docs: Add and correct examples of common names for various dynamic hooks. 2021-07-03 21:42:59 +00:00
rewrite.php Docs: Clarify and standardise on terminology used for rewrite rule endpoint masks. 2020-11-19 16:15:08 +00:00
robots-template.php Robots: Remove contradictory directive check in `wp_robots()`. 2021-03-23 23:02:05 +00:00
rss-functions.php Feeds: Add an early exit when calling RSS functions directly. 2020-11-16 22:52:05 +00:00
rss.php Docs: In various `@return` tags, list the expected type first, instead of `false` or `WP_Error`. 2021-01-04 17:18:04 +00:00
script-loader.php Docs: Some documentation improvements for `wp_check_widget_editor_deps()`: 2021-07-09 10:50:56 +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: Remove a one-time `$message` variable in some `_doing_it_wrong()` calls. 2021-06-15 15:22:58 +00:00
sitemaps.php Docs: Miscellaneous DocBlock corrections. 2021-05-15 17:38:05 +00:00
spl-autoload-compat.php Coding Standards: Pass an empty string instead of `null` as the `$replacement` parameter to `_deprecated_file()`. 2020-11-12 11:17:07 +00:00
taxonomy.php Docs: Add and correct examples of common names for various dynamic hooks. 2021-07-03 21:42:59 +00:00
template-canvas.php Block Editor: Introduce block templates for classic themes. 2021-05-25 14:20:57 +00:00
template-loader.php Coding Standards: Fix instances of `Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty`. 2020-05-26 09:37:10 +00:00
template.php Block Editor: Introduce block templates for classic themes. 2021-05-25 14:20:57 +00:00
theme-i18n.json Block Editor: Add Global Settings support using theme.json file. 2021-05-24 08:37:55 +00:00
theme-templates.php Block Editor: Package updates for Beta 3. 2021-06-22 10:00:50 +00:00
theme.json Block Editor: Backport fixes targetted for WordPress 5.8 RC4. 2021-07-15 18:55:29 +00:00
theme.php Themes: Remove mention of “FSE” in Core. 2021-06-28 19:11:57 +00:00
update.php Plugins: Add support for `Update URI` header. 2021-05-17 17:04:01 +00:00
user.php Docs: Various documentation fixes following [51129]. 2021-07-13 00:02:57 +00:00
vars.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
version.php Tests: Replace `assertContains()` with `assertStringContainsString()` when used with strings. 2021-07-19 14:01:57 +00:00
widgets.php I18N: Translate `_doing_it_wrong()` messages in `wp_check_widget_editor_deps()`. 2021-07-09 10:57:59 +00:00
wlwmanifest.xml
wp-db.php Code Modernization: Only check collation in `wpdb` methods if the query is not empty. 2021-07-10 11:15:59 +00:00
wp-diff.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00