WordPress/wp-includes
hellofromTonya 701b803ffe Editor: Fix performance regression in WP_Theme_JSON_Resolver.
A significant performance regression was added late in WP 6.1 beta cycle when some of the existing caching for `theme.json` processing was removed. The rationale for removing the caching was this code was now used before all the blocks are registered (aka get template data, etc.) and resulted in stale cache that created issues (see [https://github.com/WordPress/gutenberg/issues/44434 Gutenberg Issue 44434] and [https://github.com/WordPress/gutenberg/issues/44619 Gutenberg Issue 44619]). The changes were limited to only reads from the file system. However, it introduced a big impact in performance.

This commit adds caching and checks for blocks with different origins. How? It add caching for the calculated data for core, theme, and user based on the blocks that are registered. If the blocks haven't changed since the last time they were calculated for the origin, the cached data is returned. Otherwise, the data is recalculated and cached.

Essentially, this brings back the previous cache, but refreshing it when the blocks change.

It partially adds unit tests for these changes. Additional tests will be added.

References:
* [https://github.com/WordPress/gutenberg/issues/44772 Performance regression in WP 6.1 for theme.json processing]

Follow-up to [54251], [54399].

Props aristath, oandregal, bernhard-reiter, spacedmonkey, hellofromTonya.
See #56467.
Built from https://develop.svn.wordpress.org/trunk@54493


git-svn-id: http://core.svn.wordpress.org/trunk@54052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-11 17:17:13 +00:00
..
ID3 External Libraries: Update getID3 to version `1.9.22`. 2022-10-04 02:08:11 +00:00
IXR
PHPMailer External Libraries: Upgrade PHPMailer to version 6.6.5. 2022-10-09 17:12:31 +00:00
Requests HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +00:00
SimplePie External Libraries: Update the SimplePie library to version 1.5.7. 2021-12-20 19:33:00 +00:00
Text Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
assets Editor: Update packages for 6.1 Release Candidate 1. 2022-10-11 15:26:55 +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: Fix server-side attribute registration via typography support. 2022-10-04 16:47:13 +00:00
blocks Editor: Fix version in WP_Theme_JSON_Resolver::get_block_data(). 2022-10-11 16:40:14 +00:00
certificates HTTP: Remove the DST Root CA X3 certificate expired on September 30, 2021. 2021-10-03 17:51:06 +00:00
css Editor: Update packages for 6.1 Release Candidate 1. 2022-10-11 15:26:55 +00:00
customize Customize: Prevent PHP notice in Customizer when using block theme. 2022-10-07 20:48:12 +00:00
fonts Administration: Reverse the arrow direction for database import/export icons. 2020-07-17 17:11:03 +00:00
images Coding Standards: Revert accidental image changes in [52171]. 2021-11-16 00:04:01 +00:00
js Editor: Update packages for 6.1 Release Candidate 1. 2022-10-11 15:26:55 +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
pomo i18n: Ensure empty strings are consistently translated to `''`. 2022-09-26 20:56:10 +00:00
random_compat External Libraries: Update random_compat to version 2.0.21. 2022-02-16 21:19:04 +00:00
rest-api Posts, Post Types: Ensure all entries in the list returned by `wp_parse_list()` are scalar. 2022-10-11 13:25:11 +00:00
sitemaps Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
sodium_compat Upgrade/Install: Update sodium_compat to v1.19.0. 2022-09-26 14:00:10 +00:00
style-engine Code Modernization: Add `AllowDynamicProperties` attribute to recently introduced classes. 2022-10-11 15:00:12 +00:00
theme-compat Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
widgets Shortcodes: Revert recent `apply_shortcodes` and `do_shortcode` changes. 2022-09-26 22:43:10 +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 Users: Make `wp_list_authors()` and `wp_list_users()` filterable. 2022-09-20 16:26:10 +00:00
block-editor.php Block Editor: Remove repetitive calls to `file_get_contents()` in block editor settings. 2022-09-23 14:00:09 +00:00
block-i18n.json Blocks: Add support for `variations in `block.json` file 2021-08-11 09:08:01 +00:00
block-patterns.php Editor: Add post types property to wp-rest-block-patterns-controller.php. 2022-09-20 16:29:12 +00:00
block-template-utils.php Docs: Various improvements to inline docblocks. 2022-10-11 09:02:14 +00:00
block-template.php Shortcodes: Revert recent `apply_shortcodes` and `do_shortcode` changes. 2022-09-26 22:43:10 +00:00
blocks.php Blocks: Avoid extra calls to `realpath()` in block scripts and styles registration. 2022-10-07 15:46:12 +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: Introduce `wp_cache_supports()` function. 2022-10-10 18:22:11 +00:00
cache.php Cache API: Introduce `wp_cache_supports()` function. 2022-10-10 18:22:11 +00:00
canonical.php Canonical: Include all public status in 404 redirects. 2022-04-01 03:25:01 +00:00
capabilities.php Bootstrap/Load: Revert the `is_*_admin_screen()` aliases for `is_*_admin()` function family. 2022-09-27 16:31:10 +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-IXR.php
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-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 HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +00:00
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: Clarify documentation for the `nav_menu_item_id` filter. 2022-09-15 12:32:08 +00:00
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 Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-admin-bar.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-ajax-response.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-application-passwords.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-editor-context.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-list.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-parser.php Editor: Sync changes from the Gutenberg plugin 14.1 release 2022-09-20 15:43:29 +00:00
class-wp-block-pattern-categories-registry.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-patterns-registry.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-styles-registry.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-supports.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-template.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-type-registry.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-block-type.php Coding Standards: Various alignment fixes from `composer format`. 2022-09-19 19:51:09 +00:00
class-wp-block.php Editor: Ensure block script is enqueued, regardless of `ronder_callback`. 2022-10-03 14:41:14 +00:00
class-wp-comment-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-comment.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-customize-control.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-customize-manager.php Code Modernization: Pass correct value to `parse_url()` in `WP_Customize_Manager::get_return_url()`. 2022-09-12 21:50:14 +00:00
class-wp-customize-nav-menus.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-customize-panel.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-customize-section.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-customize-setting.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-customize-widgets.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-date-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-dependencies.php Docs: Various improvements to inline docblocks. 2022-10-11 09:02:14 +00:00
class-wp-dependency.php I18N: Use correct default value for JavaScript translations path. 2022-09-28 22:19:10 +00:00
class-wp-editor.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-embed.php Shortcodes: Revert recent `apply_shortcodes` and `do_shortcode` changes. 2022-09-26 22:43:10 +00:00
class-wp-error.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-fatal-error-handler.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-feed-cache-transient.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-feed-cache.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-hook.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-cookie.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-curl.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-encoding.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-ixr-client.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-proxy.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-requests-hooks.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-requests-response.php HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +00:00
class-wp-http-response.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http-streams.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-http.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-image-editor-gd.php Media: Revert WebP generation. 2022-09-19 22:53:10 +00:00
class-wp-image-editor-imagick.php Media: Revert WebP generation. 2022-09-19 22:53:10 +00:00
class-wp-image-editor.php Media: ensure the `wp_editor_set_quality` filter consistently passes the correct output mime type. 2022-10-07 19:17:12 +00:00
class-wp-list-util.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-locale-switcher.php Docs: Increase the specificity of various property documentation. 2022-09-26 22:10:16 +00:00
class-wp-locale.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-matchesmapregex.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-meta-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-metadata-lazyloader.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-network-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-network.php Networks and Sites: Store main site id of a network in network options. 2022-09-20 14:26:10 +00:00
class-wp-object-cache.php Docs: Increase the specificity of various property documentation. 2022-09-26 22:10:16 +00:00
class-wp-oembed-controller.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-oembed.php Embeds: Revert Google Data Studio as trusted provider. 2022-10-10 23:11:12 +00:00
class-wp-paused-extensions-storage.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-post-type.php Docs: Increase the specificity of various property documentation. 2022-09-26 22:10:16 +00:00
class-wp-post.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-query.php Query: Prevent PHP notice when `get_post_type_object()` returns `null` in `is_post_type_archive()`. 2022-10-10 23:03:14 +00:00
class-wp-recovery-mode-cookie-service.php Security: Additional translations of salt default phrase. 2022-10-04 03:59:13 +00:00
class-wp-recovery-mode-email-service.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-recovery-mode-key-service.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-recovery-mode-link-service.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-recovery-mode.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-rewrite.php Docs: Various docblock fixes in `WP_Rewrite` class, as per documentation standards. 2022-10-04 23:01:13 +00:00
class-wp-role.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-roles.php Role/Capability: Add a new `update_role` function. 2022-09-19 20:49:10 +00:00
class-wp-scripts.php I18N: Use correct default value for JavaScript translations path. 2022-09-28 22:19:10 +00:00
class-wp-session-tokens.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-simplepie-file.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-simplepie-sanitize-kses.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-site-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-site.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-styles.php Script Loader: Prevent double space between attributes in `WP_Styles` class. 2022-09-28 14:59:10 +00:00
class-wp-tax-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-taxonomy.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-term-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-term.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-text-diff-renderer-inline.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-text-diff-renderer-table.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-textdomain-registry.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-theme-json-data.php Code Modernization: Add `AllowDynamicProperties` attribute to recently introduced classes. 2022-10-11 15:00:12 +00:00
class-wp-theme-json-resolver.php Editor: Fix performance regression in WP_Theme_JSON_Resolver. 2022-10-11 17:17:13 +00:00
class-wp-theme-json-schema.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-theme-json.php Docs: Various docblock fixes in `WP_Theme_JSON` class, as per documentation standards. 2022-10-07 12:01:13 +00:00
class-wp-theme.php Themes: Import Twenty Twenty-Three is now the default theme. 2022-09-20 01:36:09 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-user-request.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-user.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-walker.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-widget-factory.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-widget.php Code Modernization: Add `AllowDynamicProperties` attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-xmlrpc-server.php XML-RPC: Avoid loopback request in `blogger.getUsersBlogs`. 2022-10-11 01:46:14 +00:00
class-wp.php Bootstrap/Load: Send HTTP headers after querying posts in `WP::main()`. 2022-09-20 13:12:10 +00:00
class-wpdb.php Database: Correct MariaDB version check in `wpdb::has_cap()`. 2022-10-04 15:41:18 +00:00
class.wp-dependencies.php Coding Standards: Rename WordPress Dependencies API class files. 2022-09-20 14:17:12 +00:00
class.wp-scripts.php Coding Standards: Rename WordPress Dependencies API class files. 2022-09-20 14:17:12 +00:00
class.wp-styles.php Coding Standards: Rename WordPress Dependencies API class files. 2022-09-20 14:17:12 +00:00
comment-template.php Comments: Return early from `comment_form()` if an invalid post ID is passed. 2022-10-11 15:45:11 +00:00
comment.php Comments: Consistently normalize `user_ID` to `user_id` in `wp_new_comment()`. 2022-10-11 16:32:13 +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: Various improvements to inline docblocks. 2022-10-11 09:02:14 +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 Themes: Import Twenty Twenty-Three is now the default theme. 2022-09-20 01:36:09 +00:00
default-filters.php Editor: Reintroduce styles that were removed for classic themes. 2022-09-29 18:55:10 +00:00
default-widgets.php
deprecated.php Coding Standards: Remove two unnecessary spaces. 2022-10-11 14:47:11 +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 Feeds: Remove reference to `wp-atom.php` in Atom feeds `xml:base` attribute. 2021-11-29 09:52:00 +00:00
feed-rdf.php
feed-rss.php
feed-rss2-comments.php
feed-rss2.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 Networks and Sites: Ensure `fileupload_maxk` is an `int` to avoid potential fatal errors. 2022-10-11 15:07:10 +00:00
functions.php Posts, Post Types: Ensure all entries in the list returned by `wp_parse_list()` are scalar. 2022-10-11 13:25:11 +00:00
functions.wp-scripts.php Docs: Various improvements to inline docblocks. 2022-10-11 09:02:14 +00:00
functions.wp-styles.php Docs: Various improvements to inline docblocks. 2022-10-11 09:02:14 +00:00
general-template.php Docs: Various improvements to inline docblocks. 2022-10-11 09:02:14 +00:00
global-styles-and-settings.php Docs: Various docblock fixes in `global-styles-and-settings.php`, as per documentation standards. 2022-10-07 12:09:11 +00:00
http.php Docs: Correct `@return` value for `wp_get_http_headers()`. 2022-09-14 13:08:14 +00:00
https-detection.php Docs: Miscellaneous inline documentation improvements. 2022-08-11 14:11:08 +00:00
https-migration.php
kses.php Docs: Clarify the `$allowed_protocols` default value in various KSES functions. 2022-09-15 13:29:13 +00:00
l10n.php I18N: Use correct default value for JavaScript translations path. 2022-09-28 22:19:10 +00:00
link-template.php General: Add a new filter for `the_posts_pagination_args`. 2022-09-13 18:05:09 +00:00
load.php Login and Registration: Rename `is_login_screen()` function to `is_login()`. 2022-10-10 17:59:12 +00:00
locale.php
media-template.php Media: Change alt attribute field to textarea in media library. 2022-09-20 04:02:10 +00:00
media.php Media: improve image engine detection when using the output format filter. 2022-10-07 19:03:11 +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 Networks and Sites: Officially remove global terms. 2022-09-20 02:51:09 +00:00
ms-deprecated.php Network and Sites: Move `global_terms_enabled()` to its proper final resting place. 2022-09-21 19:48:13 +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 Networks and Sites: Ensure `fileupload_maxk` is an `int` to avoid potential fatal errors. 2022-10-11 15:07:10 +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 Menus: Remove `.menu-item-has-children` on `wp_nav_menu` last level menu items when `$depth` arg is used. 2022-10-11 14:04:13 +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 Options, Meta APIs: Prevent excessive `notoptions` key lookups. 2022-09-28 13:44:15 +00:00
pluggable-deprecated.php
pluggable.php Users: Revert use of shared objects for current user. 2022-10-06 04:38: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 Docs: Updates and corrections to various inline docs added in 6.1. 2022-09-21 20:24:12 +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 Posts, Post types: Prevent `get_page_by_title()` parsing query twice. 2022-10-04 03:33:10 +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 I18N: Move code out of a translatable string in `register_rest_route()`. 2022-09-28 14:04:11 +00:00
revision.php Docs: Various docblock fixes in `wp-includes/revision.php`, as per documentation standards. 2022-09-28 14:47:12 +00:00
rewrite.php Code Modernization: Check the return type of `parse_url()` in `url_to_postid()`. 2022-10-01 03:25: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 Editor: Reinstate old persistence system configuration for the block editor usage data. 2022-10-11 15:30:11 +00:00
session.php
shortcodes.php Shortcodes: Revert recent `apply_shortcodes` and `do_shortcode` changes. 2022-09-26 22:43:10 +00:00
sitemaps.php
spl-autoload-compat.php
style-engine.php Editor: Backport Style Engine API functions, classes and tests. 2022-09-14 12:48:16 +00:00
taxonomy.php Docs: Improve `wp_get_object_terms()` return type. 2022-10-10 12:30:16 +00:00
template-canvas.php Docs: Correct the format of some comments per the documentation standards. 2021-12-10 20:30:05 +00:00
template-loader.php
template.php Themes: Relocate actions firing prior to and after template loading. 2022-09-21 01:09:10 +00:00
theme-i18n.json Editor: Introduce spacing presets in global style properties. 2022-09-21 11:43:13 +00:00
theme-templates.php Docs: Remove `@return void` from various DocBlocks. 2022-05-02 13:13:08 +00:00
theme.json Editor: Backport foundation for Layout block support refactor (part 1). 2022-09-14 18:44:09 +00:00
theme.php Customize: Prevent PHP notice in Customizer when using block theme. 2022-10-07 20:48:12 +00:00
update.php Docs: Use typed array notation for the `$locales` parameter in plugin update filters. 2022-09-22 11:13:14 +00:00
user.php Users: Fetch user by login in `retrieve_password()` if not found by email. 2022-10-11 13:45:13 +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 Editor: Fix performance regression in WP_Theme_JSON_Resolver. 2022-10-11 17:17:13 +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