WordPress/wp-includes
Sergey Biryukov df054f2dae Cache API: Validate cache key in `WP_Object_Cache` methods.
Some plugins may call the `wp_cache_*()` functions with an empty string, `false`, or `null` as cache key, usually as a result of not checking the return value of another function that's used as the key.

Previously, this was silently failing, leading to odd behavior at best and often breakage due to key collisions.

A valid cache key must be either an integer number or a non-empty string.

This commit introduces a quick type check on the given cache keys and adds a `_doing_it_wrong()` message that should help plugin developers to notice these issues quicker.

Includes:
* A check in `update_user_caches()` and `clean_user_cache()` to make sure user email is not empty before being cached or removed from cache, as it is technically possible to create a user with empty email via `wp_insert_user()`.
* Some minor cleanup in unit tests where the email was passed to `wp_insert_user()` incorrectly or was unintentionally reset.

Props tillkruess, malthert, dd32, spacedmonkey, flixos90, peterwilsoncc, SergeyBiryukov.
Fixes #56198.
Built from https://develop.svn.wordpress.org/trunk@53818


git-svn-id: http://core.svn.wordpress.org/trunk@53377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-03 14:36:12 +00:00
..
ID3 External Libraries: Update getID3 to version 1.9.21. 2021-11-26 03:06:03 +00:00
IXR
PHPMailer External Libraries: Upgrade PHPMailer to version 6.6.3. 2022-06-20 15:04:11 +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 block editor packages for WordPress 6.0.1. 2022-07-05 14:38: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 Tools: Automate backporting core blocks from Gutenberg to Core 2022-07-08 12:34: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 block editor packages for WordPress 6.0.1. 2022-07-04 12:06:43 +00:00
customize General: Replace all `esc_url_raw()` calls in core with `sanitize_url()`. 2022-06-01 18:14:10 +00:00
fonts
images Coding Standards: Revert accidental image changes in [52171]. 2021-11-16 00:04:01 +00:00
js Media: enable generating multiple mime types for image uploads; specifically WebP versions for JPEG images by default. 2022-07-21 18:03:13 +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 Docs: Remove `@return void` from various DocBlocks. 2022-05-02 13:13:08 +00:00
random_compat External Libraries: Update random_compat to version 2.0.21. 2022-02-16 21:19:04 +00:00
rest-api Docs: Use third-person singular verbs for function descriptions in `WP_REST_Posts_Controller`, as per docblocks standards. 2022-08-03 10:07:13 +00:00
sitemaps Docs: Add missing `@since` mention in `get_posts_query_args()`. 2022-06-21 13:48:12 +00:00
sodium_compat Upgrade/Install: Update sodium_compat to v1.17.1. 2022-03-24 15:20:08 +00:00
theme-compat Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
widgets Widgets: Add a comment in `WP_Nav_Menu_Widget::form()` to clarify the `esc_attr()` usage. 2022-07-01 20:01:15 +00:00
admin-bar.php Administration: Add labels to read-only form fields. 2022-07-21 09:04:14 +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 Blocks: Add support for `variations in `block.json` file 2021-08-11 09:08:01 +00:00
block-patterns.php Themes: Allow remote pattern registration in `theme.json` when core patterns are disabled. 2022-07-29 08:31:10 +00:00
block-template-utils.php Docs: Provide a more accurate description for `wp_is_theme_directory_ignored()`. 2022-07-22 07:18:13 +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 Docs: Fix `$feature` parameter type in `block_has_support()`. 2022-07-30 14:09:10 +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 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
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 Posts, Post Types: Standardize on `$post` parameter name where appropriate. 2022-07-18 17:37:17 +00:00
category.php
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
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: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +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 Editor: Fix how the Site Editor is linked to 2021-11-15 03:43:59 +00:00
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 Code Modernization: Silence the deprecation warnings for missing return type in `WP_Block_List`. 2021-08-03 11:12:55 +00:00
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: Ensure block style name does not contain spaces before creating the class. 2021-11-28 13:53:00 +00:00
class-wp-block-supports.php Docs: Various docblock corrections and improvements. 2021-11-23 21:37:01 +00:00
class-wp-block-template.php Editor: Explicitly declare `$post_types` and `$area` properties in `WP_Block_Template` class. 2021-12-21 00:28:00 +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 Editor: Register 'lock' attribute for every block on the server 2022-04-26 09:50:12 +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: 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-comment.php
class-wp-customize-control.php Coding Standards: Escape `id` attributes in `WP_Customize_Control::render_content()` and `::print_template()`. 2021-10-22 16:09:59 +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 Customizer: Remove Menus panel when a theme does not support menus 2022-01-24 05:34:04 +00:00
class-wp-customize-section.php Docs: Update some `@var` tags per the documentation standards. 2021-12-11 19:50:59 +00:00
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 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-feed-cache-transient.php
class-wp-feed-cache.php
class-wp-hook.php Plugins: Correct the documented allowable types for to the `$callback` parameter of various hook related functions. 2021-12-01 13:22:01 +00:00
class-wp-http-cookie.php Docs: Miscellaneous docblock corrections and improvements. 2021-09-22 21:23:00 +00:00
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 Docs: Fix typos in some DocBlocks. 2022-01-18 20:29:06 +00:00
class-wp-http-ixr-client.php Coding Standards: Use strict comparison in `wp-includes/class-wp-http-ixr-client.php`. 2021-10-01 15:00:58 +00:00
class-wp-http-proxy.php Docs: Various docblock corrections. 2021-12-01 12:17:00 +00:00
class-wp-http-requests-hooks.php HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +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
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 Coding Standards: Rename the `$strResponse` variable to `$response` in `WP_Http_Streams::request()`. 2022-03-20 16:02:04 +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: enable generating multiple mime types for image uploads; specifically WebP versions for JPEG images by default. 2022-07-21 18:03:13 +00:00
class-wp-list-util.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-locale-switcher.php
class-wp-locale.php 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: Improve sanitization within `WP_Meta_Query`. 2022-01-06 17:05:02 +00:00
class-wp-metadata-lazyloader.php
class-wp-network-query.php Coding Standards: Restore the `$pieces` variable for SQL clauses in query classes. 2022-05-10 11:21:09 +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 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 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 REST API: Some documentation and test improvements for `update_menu_item_cache()`: 2022-06-15 13:37:10 +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
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: 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-site.php
class-wp-tax-query.php Taxonomy: Improve performance by taxonomy queries by adding a limitting requested terms. 2022-03-31 10:06:01 +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-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 Docs: Docblock typo correction in `WP_Theme_JSON_Schema`. 2021-12-02 20:45:01 +00:00
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 Text Changes: Improve consistency of punctuation in some strings. 2022-07-14 14:10:11 +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 Widgets: Fix widget preview not working if widget registered via a instance 2021-06-23 01:34:58 +00:00
class-wp-widget.php Widgets: Use `isset()` in `WP_Widget:: display_callback()` to support `ArrayIterator` and `ArrayObject`. 2021-11-16 01:43:00 +00:00
class-wp-xmlrpc-server.php Coding Standards: Standardize on `user_id` when passing data to comment functions. 2022-07-20 14:14:09 +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 Coding Standards: Move `wp-includes/wp-db.php` to `wp-includes/class-wpdb.php`. 2022-07-21 16:00:15 +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 Comments: Improve accessibility of the "Logged in as" link in comment form. 2022-07-29 17:06:15 +00:00
comment.php Coding Standards: Remove extra comma in a `compact()` call. 2022-07-20 14:22:08 +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 Cron API: Modify `_get_cron_array()` to always return an array. 2022-07-29 03:34:13 +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 General: Replace all `esc_url_raw()` calls in core with `sanitize_url()`. 2022-06-01 18:14:10 +00:00
default-widgets.php
deprecated.php Posts, Post Types: Standardize on `$post` parameter name where appropriate. 2022-07-18 17:37:17 +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 Posts, Post Types: Standardize on `$post` parameter name where appropriate. 2022-07-18 17:37:17 +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 Docs: Remove an obsolete function description in `addslashes_gpc()`. 2022-07-25 17:28:09 +00:00
functions.php Docs: Improve the description of param `$list ` in `wp_list_sort()` docblock. 2022-08-02 14:50:12 +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 Script Loader: Document `path` as an accepted value for `$key` in `wp_style_add_data()`. 2021-11-19 15:14:00 +00:00
general-template.php Docs: Use third-person singular verbs for function descriptions in `general-template.php`, as per docblocks standards. 2022-07-20 20:37:07 +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: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +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 Coding Standards: Rename the `$user_id` parameter of `get_user_locale()` to `$user` for accuracy. 2022-07-15 13:45:11 +00:00
link-template.php Docs: Add a `@since` note for `get_post_permalink()` returning `false` on failure. 2022-07-20 15:46:09 +00:00
load.php Coding Standards: Move `wp-includes/wp-db.php` to `wp-includes/class-wpdb.php`. 2022-07-21 16:00:15 +00:00
locale.php
media-template.php Media: Prevent URLs from overflowing their container in the media editor. 2022-07-25 18:11:08 +00:00
media.php Media: enable generating multiple mime types for image uploads; specifically WebP versions for JPEG images by default. 2022-07-21 18:03:13 +00:00
meta.php Cache: Use wp_cache_*_multiple() in core functions. 2022-02-11 18:51:59 +00:00
ms-blogs.php
ms-default-constants.php 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 Multisite: Log error/warnings/notices from `ms-files.php`. 2021-07-06 20:21:57 +00:00
ms-functions.php Docs: Typo correction in `wp-includes/ms-functions.php` docblock. 2022-04-25 09:25:09 +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 Cache: Use wp_cache_*_multiple() in core functions. 2022-02-11 18:51:59 +00:00
ms-settings.php
ms-site.php Docs: Update the DocBlock for the `wpmu_new_blog` action to suggest `wp_initialize_site` as an alternative. 2022-03-03 16:13:03 +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 Docs: Correct `@since` tags introduced in WordPress 6.0.1. 2022-07-15 16:00:10 +00:00
pluggable-deprecated.php
pluggable.php Users: Allow conditional supression of the email notifications that are sent when a new user account is registered. 2022-07-12 21:05:16 +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: Standardize on `$post` parameter name where appropriate. 2022-07-18 17:37:17 +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: Check if the post type exists in `wp_insert_post()`. 2022-07-24 13:26: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 General: Replace all `esc_url_raw()` calls in core with `sanitize_url()`. 2022-06-01 18:14:10 +00:00
revision.php Revisions: Update the "last revision" wording to "latest revision" in various files. 2022-07-25 19:30:09 +00:00
rewrite.php Docs: Use third-person singular verbs for function descriptions in `wp-includes/rewrite.php`, per the documentation standards. 2022-03-25 21:34:01 +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 External Libraries: Update the Moment library to version 2.29.4. 2022-07-19 19:43:25 +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
spl-autoload-compat.php
taxonomy.php Taxonomy: Retain default term option when unregistering taxos. 2022-07-06 05:11:12 +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: 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 Themes: Add a hook to filter theme header image URL. 2022-07-20 21:13:09 +00:00
update.php Upgrade/Install: track php extensions and image library support for WebP and AVIF. 2022-07-21 20:22:09 +00:00
user.php Cache API: Validate cache key in `WP_Object_Cache` methods. 2022-08-03 14:36:12 +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 Cache API: Validate cache key in `WP_Object_Cache` methods. 2022-08-03 14:36:12 +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