WordPress/wp-includes
Sergey Biryukov 1f506d3211 Build/Test Tools: Remove magic methods from WP_UnitTestCase_Base (without a backward compatibility break).
These magic methods were introduced to prevent a backward compatibility break, but in actual fact:

1. ''Caused'' a backward compatibility break. The original `$factory` property was a `static` property and this declared property was replaced by the magic methods. Unfortunately, it was not realized at the time that these magic methods **''are not called for static property access''**.[[BR]][[BR]]
 > Property overloading only works in object context. These magic methods will not be triggered in static context.
 And as approaching a static property in a non-static manner is [https://3v4l.org/93HQL not supported in PHP], this effectively created a backward compatibility break instead of preventing it.

2. Were hiding errors in tests, as the magic methods would be invoked for non-existent properties and would return `null` (get) or `false` (isset). See [54040], [54041], and [54077] for bug fixes related to this.

3. Are problematic in relation to PHP 8.2, as the implementation is incomplete, does not protect against dynamic properties and hides PHP notices about undefined properties.

Now, there were several options to mitigate this:

1. Revert the original commit. This would be problematic, as the ''non-static'' version of these properties has now been supported for 7 years, so this would create a new backward compatibility break.

2. Improve the magic methods. With all the issues with magic methods (see the discussion in the [https://www.youtube.com/watch?v=vDZWepDQQVE livestream from August 16, 2022], this would probably cause more problems than it’s worth and would make for a much more complex implementation, which is over the top for this relatively simple functionality, especially in the context of a test suite.

3. Remove the magic methods without adding the property. This would again cause a backward compatibility break, though one for which the mitigation solution would be relatively straightforward, i.e. to replace property access using `$this->factory` with a function call `$this->factory()` (or `self::factory()`, as the method is declared as static).    While we can (and have in a subsequent commit) mitigate this for the WP Core test suite, mitigating this for plugin or theme integration tests is outside of our purview and they would still need to deal with this backward compatibility break.

4. The current solution: removing the magic methods, explicitly declaring the (non-static) property and setting it in the `set_up()` method. This does not constitute a backward compatibility break with the functionality as it was over the past 7 years. Setting the property in `set_up()` may be “late”, but that is the earliest place in which the property can be set as non-static. If the factory would be needed prior to `set_up()`, the (static) `WP_UnitTestCase_Base::factory()` method should be called directly. This is no different from how this functionality behaved over the past 7 years.

Note: The property is straight away marked as “deprecated”, since the method should be favored over the use of the property.

Reference: [https://www.php.net/manual/en/language.oop5.overloading.php#object.get PHP Manual: Property overloading: __get()]

Follow-up to [35225], [35242].

Props jrf, costdev.
See #56514.
Built from https://develop.svn.wordpress.org/trunk@54087


git-svn-id: http://core.svn.wordpress.org/trunk@53646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-09-06 22:02:09 +00:00
..
assets Editor: Backport bug fixes from Gutenberg into Core for WP 6.0.2 RC 2022-08-23 15:42:33 +00:00
block-patterns REST API: Bring new endpoints for Block Patterns from Gutenberg plugin 2022-04-12 09:26:16 +00:00
block-supports Editor: Add utility classnames back to blocks that have layout attributes specified. 2022-06-23 23:09:09 +00:00
blocks Editor: Backport bug fixes from Gutenberg into Core for WP 6.0.2 RC 2022-08-23 15:42:33 +00:00
certificates
css Editor: Backport bug fixes from Gutenberg into Core for WP 6.0.2 RC 2022-08-23 15:42:33 +00:00
customize General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:14:10 +00:00
fonts
ID3
images
IXR
js Media: revert the multi-mime feature. 2022-09-06 21:13:12 +00:00
php-compat Docs: Adjust some deprecated function DocBlocks per the [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#1-2-deprecated-functions documentation standards]. 2022-04-06 15:20:06 +00:00
PHPMailer External Libraries: Upgrade PHPMailer to version 6.6.4. 2022-08-22 12:26:12 +00:00
pomo Code Modernization: Explicitly declare all properties in Gettext_Translations. 2022-08-30 13:57:15 +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 Media: revert the multi-mime feature. 2022-09-06 21:13:12 +00:00
SimplePie
sitemaps Sitemaps: Prevent invalid provider names throwing errors. 2022-08-05 05:49:11 +00:00
sodium_compat Upgrade/Install: Update sodium_compat to v1.17.1. 2022-03-24 15:20:08 +00:00
Text Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
theme-compat Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
widgets Coding Standards: Use a consistent markup for line break tags across Core. 2022-09-02 06:51:13 +00:00
admin-bar.php Taxonomy: Introduce the is_term_publicly_viewable() function. 2022-08-13 22:44:09 +00:00
atomlib.php Code Modernization: Rename parameters that use reserved keywords in wp-includes/atomlib.php. 2022-04-21 11:24:17 +00:00
author-template.php I18N: Use a translatable string for displaying a user's first name and last name. 2022-06-14 14:43:12 +00:00
block-editor.php Editor: Fix opinionated block styles loading in editor 2022-05-20 11:42:19 +00:00
block-i18n.json
block-patterns.php Block Patterns: Add new Footers category 2022-08-25 15:42:10 +00:00
block-template-utils.php Editor: Ensure get_block_templates() returns unique templates or template parts. 2022-08-23 14:52:12 +00:00
block-template.php Docs: Use third-person singular verbs for function descriptions in block-template.php and block-template-utils.php. 2022-07-20 13:21:08 +00:00
blocks.php Editor: Document the arguments for registering a block style. 2022-08-13 22:38:09 +00:00
bookmark-template.php Docs: Use third-person singular verbs for function descriptions in Bookmark related files, as per docblock standards. 2022-06-23 22:57:12 +00:00
bookmark.php General: Ensure bookmark query limits are numeric. 2022-08-30 15:17:08 +00:00
cache-compat.php Cache API: Make the placement of wp_cache_flush_group() more consistent. 2022-07-23 14:58:12 +00:00
cache.php Cache API: Make the placement of wp_cache_flush_group() more consistent. 2022-07-23 14:58:12 +00:00
canonical.php Canonical: Include all public status in 404 redirects. 2022-04-01 03:25:01 +00:00
capabilities.php Docs: Use third-person singular verbs for method descriptions in wp-includes/class-wp-roles.php, per the documentation standards. 2022-05-23 15:01:12 +00:00
category-template.php Taxonomy: Associate field descriptions with fields. 2022-08-19 23:06:09 +00:00
category.php Docs: Various corrections and improvements to inline documentation. 2022-08-04 14:52:11 +00:00
class-feed.php
class-http.php General: Use WPINC as a shorter reference to wp-includes in some files. 2022-06-17 11:20:13 +00:00
class-IXR.php
class-json.php Coding Standards: Use more consistent formatting in wp-includes/class-json.php. 2022-08-31 13:41:08 +00:00
class-oembed.php General: Use WPINC as a shorter reference to wp-includes in some files. 2022-06-17 11:20:13 +00:00
class-phpass.php
class-phpmailer.php
class-pop3.php
class-requests.php
class-simplepie.php
class-smtp.php
class-snoopy.php
class-walker-category-dropdown.php
class-walker-category.php
class-walker-comment.php
class-walker-nav-menu.php
class-walker-page-dropdown.php Coding standards: Remove extra spaces in docblocks of the Walker_PageDropdown class. 2022-05-01 22:01:10 +00:00
class-walker-page.php
class-wp-admin-bar.php
class-wp-ajax-response.php
class-wp-application-passwords.php Docs: Convert "Application Passwords" to lowercase in WP_Application_Passwords docblocks, for better consistency. 2022-07-06 11:55:11 +00:00
class-wp-block-editor-context.php Add WP_Block_Editor_Context::$name 2022-03-17 03:37:05 +00:00
class-wp-block-list.php
class-wp-block-parser.php
class-wp-block-pattern-categories-registry.php Editor: Return additional block patterns to server-generated settings 2022-05-17 14:38:14 +00:00
class-wp-block-patterns-registry.php Coding Standards: Correct alignment in various files. 2022-05-23 20:40:14 +00:00
class-wp-block-styles-registry.php Editor: Document the arguments for registering a block style. 2022-08-13 22:38:09 +00:00
class-wp-block-supports.php Docs: Miscellaneous inline documentation improvements. 2022-08-11 14:11:08 +00:00
class-wp-block-template.php
class-wp-block-type-registry.php
class-wp-block-type.php Docs: Correct and improve the documented types for various functions and hooks. 2022-08-11 14:03:09 +00:00
class-wp-block.php Docs: Improve parameter descriptions in render_block and render_block_* filters. 2022-07-26 13:00:16 +00:00
class-wp-comment-query.php Docs: Various corrections and improvements to inline documentation. 2022-08-04 14:52:11 +00:00
class-wp-comment.php
class-wp-customize-control.php Docs: Miscellaneous inline documentation improvements. 2022-08-11 14:11:08 +00:00
class-wp-customize-manager.php Revisions: Update the "last revision" wording to "latest revision" in various files. 2022-07-25 19:30:09 +00:00
class-wp-customize-nav-menus.php Docs: Remove @return void from various DocBlocks. 2022-05-02 13:13:08 +00:00
class-wp-customize-panel.php Docs: Correct and improve the documented types for various functions and hooks. 2022-08-11 14:03:09 +00:00
class-wp-customize-section.php
class-wp-customize-setting.php Code Modernization: Rename parameters that use reserved keywords in swp-includes/class-wp-customize-setting.php. 2022-04-24 00:28:08 +00:00
class-wp-customize-widgets.php Code Modernization: Rename parameters that use reserved keywords in wp-includes/class-wp-customize-widgets.php. 2022-04-25 13:29:09 +00:00
class-wp-date-query.php Docs: Various docblock fixes in WP_Date_Query class, as per docs standards. 2022-07-30 14:01:13 +00:00
class-wp-dependency.php
class-wp-editor.php Docs: Various docblock improvements. 2022-04-28 09:46:21 +00:00
class-wp-embed.php Code Modernization: Rename parameters that use reserved keywords in wp-includes/class-wp-embed.php. 2022-04-26 10:00:09 +00:00
class-wp-error.php Docs: Various docblock improvements. 2022-04-28 09:46:21 +00:00
class-wp-fatal-error-handler.php Site Health: Improve the fatal error handling text in multisite scenarios. 2022-08-28 19:51:09 +00:00
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 Coding Standards: Use strict comparison in wp-includes/class-wp-http-curl.php. 2022-03-20 16:24:03 +00:00
class-wp-http-encoding.php
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: Correct method reference format in some DocBlocks. 2022-06-06 10:51:12 +00:00
class-wp-http.php Docs: Various corrections and improvements to inline documentation. 2022-08-04 14:52:11 +00:00
class-wp-image-editor-gd.php Docs: Improve documentation for WP_Image_Editor::save() and related functions. 2022-06-21 11:18:17 +00:00
class-wp-image-editor-imagick.php Docs: Improve documentation for WP_Image_Editor::save() and related functions. 2022-06-21 11:18:17 +00:00
class-wp-image-editor.php Media: Output WebP by default when uploading JPEGs. 2022-09-06 21:15:08 +00:00
class-wp-list-util.php
class-wp-locale-switcher.php I18N: Introduce WP_Textdomain_Registry to store text domains and their language directory paths. 2022-08-11 12:39:12 +00:00
class-wp-locale.php I18N: Avoid translating wp_locale strings several times. 2022-03-18 21:18:03 +00:00
class-wp-matchesmapregex.php
class-wp-meta-query.php Query: Cast the meta key to BINARY for case-sensitive key comparisons in WP_Meta_Query. 2022-08-17 14:00:13 +00:00
class-wp-metadata-lazyloader.php
class-wp-network-query.php Docs: Add a @since note for the update_network_meta_cache parameter of WP_Network_Query::__construct(). 2022-09-06 14:21:10 +00:00
class-wp-network.php Coding Standards: Fix params indentation in pre_get_network_by_path hook docblock. 2022-05-15 20:32:08 +00:00
class-wp-object-cache.php Cache API: Validate cache key in WP_Object_Cache methods. 2022-08-03 14:36:12 +00:00
class-wp-oembed-controller.php
class-wp-oembed.php Embeds: Add Pocket Casts as a trusted oEmbed provider. 2022-07-21 04:25:13 +00:00
class-wp-paused-extensions-storage.php Docs: Corrections and improvements to docblocks for function and hooks relating to fatal error handling. 2022-04-29 19:17:11 +00:00
class-wp-post-type.php Docs: Improve doc blocks for hooks added in [53126]. 2022-04-13 03:04:10 +00:00
class-wp-post.php Docs: Correct the type for WP_Post::$post_category and ::$tags_input. 2022-05-21 12:07:13 +00:00
class-wp-query.php Query: Cache post ID database query within WP_Query. 2022-08-25 04:23:13 +00:00
class-wp-recovery-mode-cookie-service.php
class-wp-recovery-mode-email-service.php Docs: Corrections and improvements to docblocks for function and hooks relating to fatal error handling. 2022-04-29 19:17:11 +00:00
class-wp-recovery-mode-key-service.php
class-wp-recovery-mode-link-service.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
class-wp-recovery-mode.php Docs: Corrections and improvements to docblocks for function and hooks relating to fatal error handling. 2022-04-29 19:17:11 +00:00
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 Docs: Use third-person singular verbs for method descriptions in wp-includes/class-wp-roles.php, per the documentation standards. 2022-05-23 15:01:12 +00:00
class-wp-session-tokens.php
class-wp-simplepie-file.php Code Modernization: Explicitly declare WP-specific property in WP_SimplePie_File. 2022-08-29 13:19:12 +00:00
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 Docs: Simplify a comment in WP_Network_Query::get_networks() and WP_Site_Query::get_sites(). 2022-09-06 13:59:13 +00:00
class-wp-site.php
class-wp-tax-query.php Docs: Use third-person singular verbs for function descriptions in WP_Tax_Query class, as per docblocks standards. 2022-08-18 11:28:12 +00:00
class-wp-taxonomy.php Docs: Improve doc blocks for hooks added in [53126]. 2022-04-13 03:04:10 +00:00
class-wp-term-query.php Docs: Add a comment for stripping the leading AND from SQL clauses in some query classes. 2022-06-14 16:17:08 +00:00
class-wp-term.php
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php Docs: Typo corrections in various API docblocks. 2022-02-04 16:28:00 +00:00
class-wp-textdomain-registry.php I18N: Introduce WP_Textdomain_Registry to store text domains and their language directory paths. 2022-08-11 12:39:12 +00:00
class-wp-theme-json-resolver.php Docs: Various docblock corrections and improvements for changes introduced in 6.0. 2022-04-28 09:59:13 +00:00
class-wp-theme-json-schema.php
class-wp-theme-json.php Docs: Various docblock corrections and improvements for changes introduced in 6.0. 2022-04-28 09:59:13 +00:00
class-wp-theme.php Themes: Add support for Update URI header. 2022-08-23 17:48:15 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Users: Prime user meta in WP_User_Query class. 2022-07-05 09:28:13 +00:00
class-wp-user-request.php
class-wp-user.php Docs: Use third-person singular verbs for function descriptions in wp-includes/class-wp-user.php. 2022-03-07 13:07:03 +00:00
class-wp-walker.php Docs: Clarify the name and description of some parameters in the Walker class. 2022-05-01 21:47:10 +00:00
class-wp-widget-factory.php
class-wp-widget.php
class-wp-xmlrpc-server.php XML-RPC: Correct the documented arguments for XML-RPC server methods. 2022-08-11 15:00:08 +00:00
class-wp.php Feeds: Use latest comment date for the Last-Modified header of comments feed. 2022-04-20 12:47:11 +00:00
class-wpdb.php Database: Account for utf8 being renamed to utf8mb3 in newer MariaDB and MySQL versions. 2022-08-22 15:39:13 +00:00
class.wp-dependencies.php Code Modernization: Rename parameters that use reserved keywords in wp-includes/class-wp-query.php. 2022-04-26 14:28:08 +00:00
class.wp-scripts.php Script Loader: Explain why i18n prevents concatenation. 2022-05-08 23:59:11 +00:00
class.wp-styles.php Code Modernization: Rename parameters that use reserved keywords in wp-includes/class.wp-styles.php. 2022-04-26 14:59:08 +00:00
comment-template.php General: Add required fields helper functions for better reusability. 2022-08-12 12:11:09 +00:00
comment.php Cache API, Docs: Remove private delegation from cache priming functions. 2022-08-26 01:03:14 +00:00
compat.php Code Modernization: Rename parameters to match native PHP functions in wp-includes/compat.php. 2022-05-08 00:29:14 +00:00
cron.php Docs: Miscellaneous inline documentation improvements. 2022-08-11 14:11:08 +00:00
date.php General: Use WPINC as a shorter reference to wp-includes in some files. 2022-06-17 11:20:13 +00:00
default-constants.php Formatting: Add support for formatting sizes as PB, EB, ZB, and YB. 2022-03-18 20:48:02 +00:00
default-filters.php Script loader: enable resource preloading with rel='preload'. 2022-08-05 18:26:08 +00:00
default-widgets.php
deprecated.php I18N: Introduce WP_Textdomain_Registry to store text domains and their language directory paths. 2022-08-11 12:39:12 +00:00
embed-template.php General: Use WPINC as a shorter reference to wp-includes in some files. 2022-06-17 11:20:13 +00:00
embed.php Embeds: Fix missing labels and duplicate IDs. 2022-08-19 22:06:09 +00:00
error-protection.php Docs: Corrections and improvements to docblocks for function and hooks relating to fatal error handling. 2022-04-29 19:17:11 +00:00
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss2-comments.php
feed-rss2.php
feed-rss.php
feed.php Docs: Use third-person singular verbs for function descriptions in the Feed API, as per docblock standards. 2022-06-20 21:46:16 +00:00
formatting.php Docs: Remove an obsolete function description in addslashes_gpc(). 2022-07-25 17:28:09 +00:00
functions.php Coding Standards: Use strict comparisons in path_is_absolute(). 2022-08-26 18:59:13 +00:00
functions.wp-scripts.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
functions.wp-styles.php
general-template.php Script Loader: Remove default DNS prefetch entry for s.w.org. 2022-08-18 08:45:12 +00:00
global-styles-and-settings.php Editor: Backport Duotone fixes for 5.9.1. 2022-02-17 16:18:03 +00:00
http.php Docs: List the expected type first in a few functions: 2022-07-23 16:57:09 +00:00
https-detection.php Docs: Miscellaneous inline documentation improvements. 2022-08-11 14:11:08 +00:00
https-migration.php
kses.php KSES: Document HTML allow list is in lowercase. 2022-03-31 03:54:02 +00:00
l10n.php I18N: Introduce WP_Textdomain_Registry to store text domains and their language directory paths. 2022-08-11 12:39:12 +00:00
link-template.php Docs: Remove incorrect default value for $path argument of admin_url(). 2022-08-19 19:48:15 +00:00
load.php Networks and Sites: Use metadata api in `*_network_options functions. 2022-09-06 11:28:13 +00:00
locale.php
media-template.php Docs: Use third-person singular verbs for various function descriptions, as per docblocks standards. 2022-09-02 06:58:09 +00:00
media.php Media: revert the multi-mime feature. 2022-09-06 21:13:12 +00:00
meta.php Docs: Correct and improve the documented types for various functions and hooks. 2022-08-11 14:03:09 +00:00
ms-blogs.php Networks and Sites: Use metadata api in `*_network_options functions. 2022-09-06 11:28:13 +00:00
ms-default-constants.php I18N: Remove code from a translatable string in wp-includes/ms-default-constants.php. 2022-07-14 13:35:13 +00:00
ms-default-filters.php Users: Introduce the concept of a large site to single site installations. 2022-03-29 12:42:13 +00:00
ms-deprecated.php Text Changes: Improve consistency of admin error notices. 2022-06-02 15:05:13 +00:00
ms-files.php
ms-functions.php Networks and Sites: Use metadata api in `*_network_options functions. 2022-09-06 11:28:13 +00:00
ms-load.php Database: Use generic references to a database server in ms_not_installed(). 2022-05-13 12:21:13 +00:00
ms-network.php Networks and Sites: Use metadata api in `*_network_options functions. 2022-09-06 11:28:13 +00:00
ms-settings.php
ms-site.php Cache API, Docs: Remove private delegation from cache priming functions. 2022-08-26 01:03:14 +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 REST API: Some documentation and test improvements for update_menu_item_cache(): 2022-06-15 13:37:10 +00:00
option.php Networks and Sites: Use metadata api in `*_network_options functions. 2022-09-06 11:28:13 +00:00
pluggable-deprecated.php
pluggable.php Mail: Prevent the last character of names in “From” headers from being trimmed. 2022-08-16 18:18:14 +00:00
plugin.php Docs: Improve description for doing_filter() and doing_action(). 2022-08-01 11:15:14 +00:00
post-formats.php
post-template.php Posts, Post Types: Allow bypassing of term classes in get_post_class(). 2022-09-05 05:45:14 +00:00
post-thumbnail-template.php Docs: Misc. fixes in wp-includes/post-template.php and wp-includes/post-thumbnail-template.php. 2022-03-15 15:22:05 +00:00
post.php Media: revert the multi-mime feature. 2022-09-06 21:13:12 +00:00
query.php Posts, Post Types: Add caching to _find_post_by_old_slug and _find_post_by_old_date functions. 2022-06-21 13:34:13 +00:00
registration-functions.php
registration.php
rest-api.php Docs: Correct and improve the documented types for various functions and hooks. 2022-08-11 14:03:09 +00:00
revision.php Docs: Correct and improve the documented types for various functions and hooks. 2022-08-11 14:03:09 +00:00
rewrite.php Rewrite rules: Prevent malformed date requests throwing notices. 2022-08-07 23:05:10 +00:00
robots-template.php Docs: Adjust DocBlock formatting for wp_robots_*() and related functions. 2022-04-06 15:33:03 +00:00
rss-functions.php
rss.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
script-loader.php Script Loader: Pass startOfWeek setting to @wordpress/date 2022-09-06 02:52:11 +00:00
session.php
shortcodes.php Docs: Misc fixes in Shortcode API function and hook descriptions, as per documentation standards. 2022-06-28 20:37:15 +00:00
sitemaps.php Docs: Miscellaneous DocBlock corrections. 2021-05-15 17:38:05 +00:00
spl-autoload-compat.php
taxonomy.php Cache API, Docs: Remove private delegation from cache priming functions. 2022-08-26 01:03:14 +00:00
template-canvas.php
template-loader.php
template.php Themes: Add actions to template loading to assist with collecting debug info. 2022-06-23 18:59:09 +00:00
theme-i18n.json Themes: Add "title" key to i18n schema 2022-03-31 10:53:04 +00:00
theme-templates.php Docs: Remove @return void from various DocBlocks. 2022-05-02 13:13:08 +00:00
theme.json Administration: Revert unwanted spaces found in theme.json after [53131]. 2022-04-11 11:55:00 +00:00
theme.php Revisions: Use wp_get_latest_revision_id_and_total_count() where appropriate. 2022-08-05 13:39:11 +00:00
update.php Themes: Add support for Update URI header. 2022-08-23 17:48:15 +00:00
user.php Docs: Correct and improve the documented types for various functions and hooks. 2022-08-11 14:03:09 +00:00
vars.php Bootstrap/Load: Avoid a PHP warning when setting the $pagenow global in wp-includes/vars.php. 2022-04-27 13:47:11 +00:00
version.php Build/Test Tools: Remove magic methods from WP_UnitTestCase_Base (without a backward compatibility break). 2022-09-06 22:02:09 +00:00
widgets.php General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:14:10 +00:00
wlwmanifest.xml
wp-db.php Coding Standards: Use __DIR__ instead of ABSPATH in wp-db.php. 2022-07-21 22:45:11 +00:00
wp-diff.php