WordPress/wp-includes
Felix Arntz 7529466125 General: Add speculative loading support via the Speculation Rules API.
This changeset adds support for the Speculation Rules API and configures it by default to `prefetch` certain links with an eagerness of `conservative`, leading to improved performance by starting to load URLs before the user lands on them.

The new `WP_Speculation_Rules` class is a container class representing the set of used speculation rules. By default, WordPress Core will only add a single speculation rule, which results in most links being prefetched conservatively.

The behavior of that main speculation rule can be altered by using the new `wp_speculation_rules_configuration` filter, which receives an associative array with `mode` and `eagerness` keys, or `null`. Both `mode` and `eagerness` have a default value of `auto`, which for now will result in the aforementioned behavior. The value `null` is used by default in certain scenarios such as when the current user is logged in. Developers can explicitly provide supported mode values (`prefetch` or `prerender`) and other supported eagerness values (`conservative`, `moderate`, or `eager`) to override and enforce the respective behaviors, or return `null` to disable speculative loading feature (either unconditionally or for certain situations). The Speculative Loading feature plugin for example, which this feature is based on, will make use of this filter to continue to use mode `prerender` and eagerness `moderate` by default. Developers can call the `wp_get_speculation_rules_configuration()` function to check how speculative loading is configured on the WordPress site.

Another important filter introduced is `wp_speculation_rules_href_exclude_paths`, which allows to expand the list of URL patterns that are excluded from being prefetched or prerendered per WordPress Core's main speculation rule configuration. Several URL patterns such `/wp-admin/*` (any URL within WP Admin) or `/*\\?(.+)` (any URL that includes query parameters) are already excluded by default. Plugins that use content that would be preferable not to prefetch or prerender can use the filter to provide corresponding URL patterns.

More advanced customization is possible by adding further speculation rules that will be loaded in addition to WordPress Core's main speculation rule. This can be achieved via the new `wp_load_speculation_rules` action, which receives the `WP_Speculation_Rules` class instance and can amend it as needed.

Props flixos90, westonruter, joemcgill, desrosj, mukesh27, tunetheweb, thelovekesh, adamsilverstein, swissspidy, domenicdenicola, jeremyroman.
Fixes #62503.

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


git-svn-id: http://core.svn.wordpress.org/trunk@59179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-02-18 22:32:22 +00:00
..
assets Editor: Update packages for 6.8 pre-Betas. 2025-02-07 15:46:48 +00:00
block-bindings Editor: Update Packages with the latest bug fixes for 6.5 RC 1 2024-03-04 14:08:24 +00:00
block-patterns Editor: Deprecate "Social links with a shared background color" pattern. 2024-09-13 05:37:16 +00:00
block-supports Docs: Docblock improvements in . 2024-12-21 17:23:24 +00:00
blocks Editor: Add remaining query block file. 2025-02-07 16:06:20 +00:00
certificates Security: Introduce Grunt task for updating Root Certificates. 2025-01-30 18:53:27 +00:00
css Uploads: Use the word-wrap-break-word instead of specific CSS on .upload-error-filename. 2025-02-17 22:58:23 +00:00
customize Administration: Replace "Add New {Item}" wording with "Add {Item}" across the administration. 2025-02-08 11:44:24 +00:00
fonts Editor: Load all style variation fonts within the editors. 2024-10-20 23:25:16 +00:00
html-api HTML API: Stop counting no-op seek operations against the max seek count. 2025-02-11 20:04:23 +00:00
ID3 External Libraries: Update getID3 to version 1.9.23. 2023-10-20 13:29:27 +00:00
images Media: Replace media icon images with SVG. 2024-02-15 23:49:10 +00:00
interactivity-api Interactivity API: Support length property on strings and arrays on the server 2024-12-02 08:10:17 +00:00
IXR Code Modernization: Remove xml_set_object() in IXR_Message::parse(). 2024-09-18 18:04:14 +00:00
js Administration: Error messages improvements in WP Admin. 2025-02-08 15:53:17 +00:00
l10n I18N: Add a new way to determine whether a translation is available. 2024-09-17 20:58:15 +00:00
php-compat Tests: Use a @requires annotation for readonly() function test. 2023-10-26 20:33:22 +00:00
PHPMailer External Libraries: Upgrade PHPMailer to version 6.9.3. 2024-12-03 15:22:18 +00:00
pomo Coding Standards: Use strict comparison in wp-includes/pomo/plural-forms.php. 2024-03-27 12:30:12 +00:00
Requests External Libraries: Update the Requests library to version 2.0.11. 2024-03-25 12:23:08 +00:00
rest-api REST API: Add support for the ignore_sticky_posts argument. 2025-02-10 22:23:23 +00:00
SimplePie External Libraries: Correct the case for wp-includes/SimplePie/src/Gzdecode.php. 2024-09-30 23:27:19 +00:00
sitemaps Coding Standards: Cast wp_count_terms() result to int before using in ceil(). 2024-11-26 21:17:25 +00:00
sodium_compat Upgrade/Install: Add missing files from the sodium_compat v1.21.1 update. 2024-07-18 13:48:15 +00:00
style-engine Editor: Avoid unnecessary array_merge in WP_Style_Engine::parse_block_styles(). 2024-11-20 21:29:22 +00:00
Text Code Modernization: Fix trigger_error() with E_USER_ERROR deprecation in Text_Diff_Op::reverse(). 2024-09-27 18:19:17 +00:00
theme-compat I18N: Improve translator comments for strings containing date formats. 2023-11-26 16:43:30 +00:00
widgets Editor: Change the Text editor label to Code. 2025-01-23 23:54:23 +00:00
admin-bar.php Toolbar: Allow the Learn WordPress link to be localized. 2024-11-19 22:18:21 +00:00
atomlib.php Code Modernization: Remove xml_set_object() in AtomParser::parse(). 2024-09-18 21:20:15 +00:00
author-template.php
block-bindings.php Docs: Correct alignment in WP_Block_Bindings_Registry::register() DocBlock. 2024-06-12 12:44:13 +00:00
block-editor.php Editor: Update packages for 6.8 pre-Betas. 2025-02-07 15:46:48 +00:00
block-i18n.json
block-patterns.php Editor: Add description for Banners block pattern category. 2024-11-29 22:46:21 +00:00
block-template-utils.php Editor: Add title and description to post format archive block templates. 2025-02-13 20:31:28 +00:00
block-template.php Editor: Warn about empty templates on the frontend for logged in users. 2024-11-22 10:57:19 +00:00
blocks.php Editor: Fix parents argument validation for Query block. 2025-02-04 09:01:17 +00:00
bookmark-template.php Date/Time, PHP Compat: Prevent type errors using GMT offset option. 2024-09-18 22:37:15 +00:00
bookmark.php Coding Standards: Use strict comparison in wp-includes/bookmark.php. 2024-03-23 14:20:11 +00:00
cache-compat.php
cache.php
canonical.php Docs: Correct inline comment formatting in redirect_canonical(). 2024-08-22 23:47:15 +00:00
capabilities.php Block Bindings: Fix panel not appearing in custom post types. 2024-10-15 14:13:19 +00:00
category-template.php Coding Standards: Upgrade WPCS to version 3.0.0. 2023-09-26 00:27:12 +00:00
category.php Docs: Improve @return docblock section for get_category(). 2025-01-24 23:28:23 +00:00
class-avif-info.php Media: fix potential error in class-avif-info.php::get_item_features(). 2024-04-26 15:02:14 +00:00
class-feed.php External Libraries: Update the SimplePie library to version 1.8.0. 2024-09-30 22:50:19 +00:00
class-http.php
class-IXR.php General: Stop direct loading of files in /wp-includes that should only be included. 2025-01-22 19:48:25 +00:00
class-json.php
class-oembed.php
class-phpass.php External Libraries: Update PHPass library. 2024-09-17 21:08:16 +00:00
class-phpmailer.php
class-pop3.php Docs: Adjust comments about set_time_limit() per the documentation standards. 2024-10-25 20:26:20 +00:00
class-requests.php
class-simplepie.php External Libraries: Update the SimplePie library to version 1.8.0. 2024-09-30 22:50:19 +00:00
class-smtp.php
class-snoopy.php
class-walker-category-dropdown.php Coding Standards: Restore more descriptive variable names in a few class methods. 2023-09-14 12:46:20 +00:00
class-walker-category.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:32:23 +00:00
class-walker-comment.php Coding Standards: Use strict comparison in wp-includes/class-walker-comment.php. 2024-03-18 15:46:13 +00:00
class-walker-nav-menu.php Menus: Improve performance by calling get_privacy_policy_url() once per Walker_Nav_Menu instance rather than for every nav menu item. 2025-01-21 21:26:23 +00:00
class-walker-page-dropdown.php Coding Standards: Restore more descriptive variable names in a few class methods. 2023-09-14 12:46:20 +00:00
class-walker-page.php Coding Standards: Restore more descriptive variable names in a few class methods. 2023-09-14 12:46:20 +00:00
class-wp-admin-bar.php Toolbar: Move user and recovery menus to a higher priority. 2024-07-18 00:52:17 +00:00
class-wp-ajax-response.php
class-wp-application-passwords.php Security: Switch to using bcrypt for hashing user passwords and BLAKE2b for hashing application passwords and security keys. 2025-02-17 11:24:21 +00:00
class-wp-block-bindings-registry.php Block Bindings: Adds context needed by sources during its processing 2024-09-23 12:35:15 +00:00
class-wp-block-bindings-source.php Block bindings: Adds a filter to customize the output of a block bindings source. 2024-09-03 16:33:15 +00:00
class-wp-block-editor-context.php
class-wp-block-list.php Coding Standards: Correct equals sign alignment in various files. 2023-11-02 00:04:24 +00:00
class-wp-block-metadata-registry.php Editor: Relax restrictions around registration of block metadata collections. 2025-01-29 19:41:23 +00:00
class-wp-block-parser-block.php
class-wp-block-parser-frame.php Editor: Update packages for 6.7 Beta 1. 2024-09-20 01:55:35 +00:00
class-wp-block-parser.php Docs: Revert the documentation change to WP_Block_Parser::parse() made in [58084]. 2024-05-02 20:09:15 +00:00
class-wp-block-pattern-categories-registry.php
class-wp-block-patterns-registry.php Block Hooks: apply_block_hooks_to_content in Patterns, Templates. 2024-09-27 09:20:18 +00:00
class-wp-block-styles-registry.php Editor: Add a fallback to WP_Block_Styles_Registry if the label is missing. 2025-02-04 08:42:25 +00:00
class-wp-block-supports.php Editor: Default attribute value not used with get_block_wrapper_attributes 2024-09-26 12:47:16 +00:00
class-wp-block-template.php Editor: Add plugin template registration API and improve theme overrides for plugin-registered templates 2024-09-20 02:07:12 +00:00
class-wp-block-templates-registry.php Editor: Fix block template registration failing for custom post types containing underscore characters. 2025-01-30 21:19:25 +00:00
class-wp-block-type-registry.php Prevent unintended behavior when certain objects are unserialized. 2023-10-12 12:34:33 +00:00
class-wp-block-type.php Docs: Various docblock corrections. 2024-05-02 00:01:09 +00:00
class-wp-block.php Editor: Introduce wp_should_load_block_assets_on_demand() with filter 'should_load_block_assets_on_demand'. 2025-02-14 18:38:21 +00:00
class-wp-classic-to-block-menu-converter.php Editor: Fix error handling of converting classic to block menus. 2023-08-21 17:51:19 +00:00
class-wp-comment-query.php Docs: Document $clauses associative array in *-clauses filters. 2024-06-21 17:26:14 +00:00
class-wp-comment.php Coding Standards: Correct default values in WP_Comment to match the documented type. 2025-02-11 13:40:30 +00:00
class-wp-customize-control.php Docs: Various Docblock fixes in wp-includes/class-wp-customize-control.php, as per WP Docs standards; 2025-02-08 12:00:19 +00:00
class-wp-customize-manager.php General: Error messages improvements in /wp-includes files. 2025-02-08 16:00:19 +00:00
class-wp-customize-nav-menus.php Customize: Accessibility: Restore heading semantics in sections. 2025-02-14 20:34:21 +00:00
class-wp-customize-panel.php General: Stop direct loading of files in /wp-includes that should only be included. 2025-01-22 19:48:25 +00:00
class-wp-customize-section.php Administration: A11y: Fix accordion accessibility. 2024-10-13 19:09:12 +00:00
class-wp-customize-setting.php General: Stop direct loading of files in /wp-includes that should only be included. 2025-01-22 19:48:25 +00:00
class-wp-customize-widgets.php Customize: Show sidebar's description below its name in Customizer Widgets sidebar list. 2025-01-21 22:38:23 +00:00
class-wp-date-query.php Coding Standards: Cast gmdate( 'Z' ) to an integer before addition. 2024-11-27 11:40:18 +00:00
class-wp-dependencies.php Script Loader: Refactor Etag generation for concatenated assets. 2024-08-25 23:48:13 +00:00
class-wp-dependency.php
class-wp-duotone.php Docs: Add missing full stop in WP_Duotone class method DocBlocks. 2024-06-14 12:18:11 +00:00
class-wp-editor.php Editor: Change the Text editor label to Code. 2025-01-23 23:54:23 +00:00
class-wp-embed.php
class-wp-error.php
class-wp-exception.php Code Modernization: Fix trigger_error() with E_USER_ERROR deprecation in wp_trigger_error(). 2024-09-27 19:28:14 +00:00
class-wp-fatal-error-handler.php Site Health: Add a link to support forums in the message displayed for a critical error. 2024-10-22 10:16:16 +00:00
class-wp-feed-cache-transient.php External Libraries: Update the SimplePie library to version 1.8.0. 2024-09-30 22:50:19 +00:00
class-wp-feed-cache.php External Libraries: Update the SimplePie library to version 1.8.0. 2024-09-30 22:50:19 +00:00
class-wp-hook.php Plugins: Store result of call to array_keys, to save repeated calls in WP_Hook class. 2023-09-18 12:41:18 +00:00
class-wp-http-cookie.php
class-wp-http-curl.php HTTP API: Deprecate WP_Http_Curl and WP_Http_Streams classes. 2023-09-21 18:29:12 +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 Docs: Use US spelling and correct a typing mistake. 2023-10-11 07:05:25 +00:00
class-wp-http-response.php
class-wp-http-streams.php HTTP API: Deprecate WP_Http_Curl and WP_Http_Streams classes. 2023-09-21 18:29:12 +00:00
class-wp-http.php General: Stop direct loading of files in /wp-includes that should only be included. 2025-01-22 19:48:25 +00:00
class-wp-image-editor-gd.php Media: improve filter to enable setting output quality by image size. 2024-11-29 23:48:15 +00:00
class-wp-image-editor-imagick.php Media: improve Imagick handling of colors and alpha channel for PNG image uploads. 2025-01-07 22:35:23 +00:00
class-wp-image-editor.php Media: improve filter to enable setting output quality by image size. 2024-11-29 23:48:15 +00:00
class-wp-list-util.php General: Revert r57698 for WP_List_Util::pluck(). 2024-02-27 22:38:15 +00:00
class-wp-locale-switcher.php I18N: Mail: Make PHPMailer messages translatable. 2025-01-08 12:54:18 +00:00
class-wp-locale.php I18N: Add new WP_Locale::get_month_genitive() method. 2024-12-05 21:37:20 +00:00
class-wp-matchesmapregex.php Coding Standards: Rename the $oSelf variable in WP_MatchesMapRegex::apply(). 2024-02-06 01:25:14 +00:00
class-wp-meta-query.php Docs: Typo corrections in class WP_Meta_Query. 2024-04-22 20:25:08 +00:00
class-wp-metadata-lazyloader.php
class-wp-navigation-fallback.php Editor: Move wp_navigation schema updating to WP_Navigation_Fallback class. 2023-10-06 14:06:22 +00:00
class-wp-network-query.php Docs: Document $clauses associative array in *-clauses filters. 2024-06-21 17:26:14 +00:00
class-wp-network.php Networks and Sites: Set WP_Network properties via setters upon creation. 2024-09-13 22:12:15 +00:00
class-wp-object-cache.php Coding Standards: Remove unused return value for WP_Object_Cache::__set(). 2024-09-19 12:12:16 +00:00
class-wp-oembed-controller.php Docs: Add a description for the $wp_embed global. 2024-03-06 05:05:12 +00:00
class-wp-oembed.php Embeds: Add Canva to oEmbed provider allowlist. 2025-01-11 13:44:25 +00:00
class-wp-paused-extensions-storage.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
class-wp-phpmailer.php I18N: Mail: Make PHPMailer messages translatable. 2025-01-08 12:54:18 +00:00
class-wp-plugin-dependencies.php Plugin Dependencies: Ensure dependency detection for newly installed plugins. 2024-05-30 15:15:10 +00:00
class-wp-post-type.php Administration: Replace missed references of "Add New" in WP_Post_Type class. 2025-02-09 11:09:21 +00:00
class-wp-post.php Coding Standards: Correct default values in WP_Post to match the documented type. 2025-02-12 18:11:25 +00:00
class-wp-query.php Coding Standards: Use strict comparison in WP_Query::the_comment() and ::have_comments(). 2025-02-10 10:51:25 +00:00
class-wp-recovery-mode-cookie-service.php
class-wp-recovery-mode-email-service.php
class-wp-recovery-mode-key-service.php Security: Switch to using bcrypt for hashing user passwords and BLAKE2b for hashing application passwords and security keys. 2025-02-17 11:24:21 +00:00
class-wp-recovery-mode-link-service.php
class-wp-recovery-mode.php Docs: Add missing void to DocBlock @return types. 2024-11-02 15:01:19 +00:00
class-wp-rewrite.php Docs: Fix typo in a comment in WP_Rewrite::refresh_rewrite_rules(). 2024-10-19 23:54:18 +00:00
class-wp-role.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:32:23 +00:00
class-wp-roles.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
class-wp-script-modules.php Docs: Correct formatting for script module data filter documentation examples. 2024-12-11 15:20:18 +00:00
class-wp-scripts.php Code Quality: Clarify variable names in dependency classes. 2024-08-10 23:00:14 +00:00
class-wp-session-tokens.php Security: Explicitly require the hash PHP extension and add requirement checks during installation and upgrade. 2025-02-11 11:14:21 +00:00
class-wp-simplepie-file.php External Libraries: Update the SimplePie library to version 1.8.0. 2024-09-30 22:50:19 +00:00
class-wp-simplepie-sanitize-kses.php General: Stop direct loading of files in /wp-includes that should only be included. 2025-01-22 19:48:25 +00:00
class-wp-site-query.php Docs: Various docblock improvements and corrections. 2024-09-11 12:08:19 +00:00
class-wp-site.php
class-wp-speculation-rules.php General: Add speculative loading support via the Speculation Rules API. 2025-02-18 22:32:22 +00:00
class-wp-styles.php Code Quality: Clarify variable names in dependency classes. 2024-08-10 23:00:14 +00:00
class-wp-tax-query.php Docs: Various improvements and corrections to inline documentation. 2024-02-16 21:47:12 +00:00
class-wp-taxonomy.php Administration: Replace "Add New {Item}" wording with "Add {Item}" across the administration. 2025-02-08 11:44:24 +00:00
class-wp-term-query.php Taxonomy: Remove count references from WP_Term_Query. 2024-10-30 22:34:19 +00:00
class-wp-term.php
class-wp-text-diff-renderer-inline.php Coding Standards: Allow $newlineEscape parameter in WP_Text_Diff_Renderer_inline::_splitOnWords(). 2024-02-14 19:27:09 +00:00
class-wp-text-diff-renderer-table.php General: Stop direct loading of files in /wp-includes that should only be included. 2025-01-22 19:48:25 +00:00
class-wp-textdomain-registry.php i18n: Account for load_*_textdomain() after JIT loading. 2024-11-20 02:50:24 +00:00
class-wp-theme-json-data.php Editor: Add theme.json v3 migrations. 2024-06-04 11:55:14 +00:00
class-wp-theme-json-resolver.php Theme JSON Resolver: remove theme json merge in resolve_theme_file_uris 2024-11-04 02:34:16 +00:00
class-wp-theme-json-schema.php Editor: code quality improvements for theme.json migrate API 2024-06-06 08:02:16 +00:00
class-wp-theme-json.php Editor: Fix complex variation selectors when using selectors API. 2025-02-12 03:40:23 +00:00
class-wp-theme.php Docs/Bundled Themes: Add @since annotation for introduction of TT5. 2024-10-07 22:28:15 +00:00
class-wp-token-map.php HTML API: Add PHP type annotations. 2024-07-19 23:44:16 +00:00
class-wp-url-pattern-prefixer.php General: Add speculative loading support via the Speculation Rules API. 2025-02-18 22:32:22 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Docs: Add missing single quote in WP_User_Query::prepare_query() DocBlock. 2024-12-19 10:24:23 +00:00
class-wp-user-request.php Security: Switch to using bcrypt for hashing user passwords and BLAKE2b for hashing application passwords and security keys. 2025-02-17 11:24:21 +00:00
class-wp-user.php Security: Switch to using bcrypt for hashing user passwords and BLAKE2b for hashing application passwords and security keys. 2025-02-17 11:24:21 +00:00
class-wp-walker.php General: Cast $max_depth and $depth to an integer in the Walker class. 2024-07-26 07:56:13 +00:00
class-wp-widget-factory.php
class-wp-widget.php Docs: Add missing void to DocBlock @return types. 2024-11-02 15:01:19 +00:00
class-wp-xmlrpc-server.php General: Error messages improvements in /wp-includes files. 2025-02-08 16:00:19 +00:00
class-wp.php Posts, Post Types: Add no-cache headers to password protected posts. 2025-01-29 18:12:25 +00:00
class-wpdb.php Security: Explicitly require the hash PHP extension and add requirement checks during installation and upgrade. 2025-02-11 11:14:21 +00:00
class.wp-dependencies.php
class.wp-scripts.php
class.wp-styles.php
comment-template.php Coding Standards: Use strict comparison in wp-includes/comment-template.php. 2024-12-08 23:43:21 +00:00
comment.php Coding Standards: Use strict comparison in pingback(). 2025-02-16 18:35:24 +00:00
compat.php Security: Explicitly require the hash PHP extension and add requirement checks during installation and upgrade. 2025-02-11 11:14:21 +00:00
cron.php Cron API: Introduce the wp_next_scheduled filter which allows overriding the timestamp for the next scheduled event for the given hook. 2025-02-14 19:37:24 +00:00
date.php
default-constants.php Bundled Themes: Initial import of the Twenty Twenty-Five default theme. 2024-09-30 23:58:16 +00:00
default-filters.php General: Add speculative loading support via the Speculation Rules API. 2025-02-18 22:32:22 +00:00
default-widgets.php General: Stop direct loading of files in /wp-includes that should only be included. 2025-01-22 19:48:25 +00:00
deprecated.php Accessibility: Globally update .screen-reader-text class. 2025-02-17 17:49:20 +00:00
embed-template.php
embed.php Posts, Post Types: Embeds: Add new embeddable argument to post types. 2025-01-24 13:32:21 +00:00
error-protection.php
feed-atom-comments.php Docs: Document the $post global in comment feed templates. 2024-03-04 12:41:10 +00:00
feed-atom.php General: Stop direct loading of files in /wp-includes that should only be included. 2025-01-22 19:48:25 +00:00
feed-rdf.php
feed-rss.php
feed-rss2-comments.php Docs: Document the $post global in comment feed templates. 2024-03-04 12:41:10 +00:00
feed-rss2.php
feed.php Feeds: Avoid fatal error with empty blog_charset value. 2024-11-11 17:50:17 +00:00
fonts.php Editor: Update Google Fonts API endpoint for WordPress 6.7. 2024-10-23 22:39:17 +00:00
formatting.php Docs: Update comments in wp-includes/formatting.php per the documentation standards. 2025-02-05 23:53:25 +00:00
functions.php General: Fix force_ssl_admin() to always return bool. 2025-02-17 15:32:22 +00:00
functions.wp-scripts.php Docs: Correct the placement of @global tags in various files. 2024-05-26 20:51:13 +00:00
functions.wp-styles.php Docs: Correct the placement of @global tags in various files. 2024-05-26 20:51:13 +00:00
general-template.php Docs: Correct the type for the_modified_date filter parameter. 2025-02-18 08:04:23 +00:00
global-styles-and-settings.php Editor: Introduce wp_should_load_block_assets_on_demand() with filter 'should_load_block_assets_on_demand'. 2025-02-14 18:38:21 +00:00
http.php Tests: Use better domain for HTTP API invalid hostname test. 2024-10-27 19:05:18 +00:00
https-detection.php Site Health: Remove use of deprecated function from wp_is_https_supported(). 2024-12-16 14:08:24 +00:00
https-migration.php
kses.php Formatting: Preserve target="_blank" in Biographical Info and Category Description. 2025-01-21 22:59:18 +00:00
l10n.php Coding Standards: Add missing global variable in determine_locale() docblock. 2025-01-28 09:46:29 +00:00
link-template.php Posts, Post Types: Remove title attribute from the_shortlink(). 2025-01-24 23:00:22 +00:00
load.php Security: Explicitly require the hash PHP extension and add requirement checks during installation and upgrade. 2025-02-11 11:14:21 +00:00
locale.php
media-template.php Uploads: Use the word-wrap-break-word instead of specific CSS on .upload-error-filename. 2025-02-17 22:58:23 +00:00
media.php General: Stop direct loading of files in /wp-includes that should only be included. 2025-01-22 19:48:25 +00:00
meta.php Options/Meta APIs: Document type juggling of meta data. 2025-01-17 00:12:26 +00:00
ms-blogs.php General: Stop direct loading of files in /wp-includes that should only be included. 2025-01-22 19:48:25 +00:00
ms-default-constants.php Code Modernization: Use wp_trigger_error() instead of trigger_error(). 2024-06-13 20:50:14 +00:00
ms-default-filters.php
ms-deprecated.php Docs: Fix various typos and spelling mistakes. 2024-04-12 17:47:13 +00:00
ms-files.php Upload: Remove redundant check for ABSPATH in wp-admin/async-upload.php. 2025-01-16 16:18:24 +00:00
ms-functions.php Security: Add the SensitiveParameter attribute to sensitive parameters. 2025-02-03 19:52:24 +00:00
ms-load.php Coding Standards: Use strict comparison in wp-includes/ms-load.php. 2024-03-25 17:19:17 +00:00
ms-network.php
ms-settings.php General: Stop direct loading of files in /wp-includes that should only be included. 2025-01-22 19:48:25 +00:00
ms-site.php Options/Meta APIs: Document type juggling of meta data. 2025-01-17 00:12:26 +00:00
nav-menu-template.php General: Stop direct loading of files in /wp-includes that should only be included. 2025-01-22 19:48:25 +00:00
nav-menu.php Menus: Check if taxonomy term exists in wp_update_nav_menu_item(). 2024-08-05 19:00:19 +00:00
option.php Docs: Fix Docblock parameters indentation for wp_determine_option_autoload_value(), as per WP Docs standards. 2025-02-08 15:11:20 +00:00
pluggable-deprecated.php Security: Add the SensitiveParameter attribute to sensitive parameters. 2025-02-03 19:52:24 +00:00
pluggable.php Security: Switch to using bcrypt for hashing user passwords and BLAKE2b for hashing application passwords and security keys. 2025-02-17 11:24:21 +00:00
plugin.php
post-formats.php Docs: Improve documentation for a few functions accepting a WP_Post object. 2024-05-27 16:29:16 +00:00
post-template.php Docs: Correct DocBlock formatting for the_password_form filter. 2025-02-04 00:32:23 +00:00
post-thumbnail-template.php Docs: Update parameter type hints to include null for post thumbnail functions. 2024-12-20 23:35:23 +00:00
post.php Administration: Replace "Add New {Item}" wording with "Add {Item}" across the administration. 2025-02-08 11:44:24 +00:00
query.php Docs: Wrap inline @see tags in curly braces. 2023-08-24 09:01:16 +00:00
registration-functions.php
registration.php
rest-api.php REST API: Remove trailing slashes when preloading requests and there is a query string. 2024-11-25 10:10:17 +00:00
revision.php Revisions: Use WP_Query in wp_get_post_autosave. 2025-01-27 23:07:23 +00:00
rewrite.php Docs: The $feedname parameter in add_feed() should not start with an underscore. 2024-09-18 19:08:11 +00:00
robots-template.php
rss-functions.php
rss.php Code Modernization: Remove xml_set_object() in MagpieRSS::__construct(). 2024-09-18 21:40:12 +00:00
script-loader.php Editor: Introduce wp_should_load_block_assets_on_demand() with filter 'should_load_block_assets_on_demand'. 2025-02-14 18:38:21 +00:00
script-modules.php Docs: Fix typos in a comment in wp_default_script_modules(). 2024-10-13 18:49:16 +00:00
session.php
shortcodes.php Docs: Update pre_do_shortcode_tag and do_shortcode_tag filter DocBlocks. 2024-05-25 03:04:12 +00:00
sitemaps.php
speculative-loading.php General: Add speculative loading support via the Speculation Rules API. 2025-02-18 22:32:22 +00:00
spl-autoload-compat.php
style-engine.php Editor: add Style Engine support for nested CSS rules. 2024-05-03 04:47:12 +00:00
taxonomy.php Administration: Replace "Add New {Item}" wording with "Add {Item}" across the administration. 2025-02-08 11:44:24 +00:00
template-canvas.php Coding Standards: Remove redundant ignore annotations, take 4. 2023-10-01 00:22:27 +00:00
template-loader.php
template.php Themes: Use original template paths when switching blogs. 2024-02-21 19:26:08 +00:00
theme-i18n.json I18N: Update theme.json i18n schema with latest changes from Gutenberg. 2025-01-08 12:36:23 +00:00
theme-previews.php Themes: fix documentation link. 2023-12-08 06:32:24 +00:00
theme-templates.php Accessibility: Globally update .screen-reader-text class. 2025-02-17 17:49:20 +00:00
theme.json Editor: Fix specificity of core block style variations. 2024-06-12 06:11:13 +00:00
theme.php Accessibility: Globally update .screen-reader-text class. 2025-02-17 17:49:20 +00:00
update.php General: Stop direct loading of files in /wp-includes that should only be included. 2025-01-22 19:48:25 +00:00
user.php Security: Switch to using bcrypt for hashing user passwords and BLAKE2b for hashing application passwords and security keys. 2025-02-17 11:24:21 +00:00
vars.php General: Stop direct loading of files in /wp-includes that should only be included. 2025-01-22 19:48:25 +00:00
version.php General: Add speculative loading support via the Speculation Rules API. 2025-02-18 22:32:22 +00:00
widgets.php Docs: Various Docblock fixes in wp-includes/widgets.php, as per WP Docs standards; 2025-01-24 21:20:23 +00:00
wp-db.php
wp-diff.php General: Stop direct loading of files in /wp-includes that should only be included. 2025-01-22 19:48:25 +00:00