WordPress/wp-includes
Sergey Biryukov c11ce53dce Query: Avoid PHP notices when get_queried_object() returns null.
`WP_Query` methods assume that `get_queried_object()` would return a non-null value, which is not always the case.

This commit resolves various warnings in `WP_Query` along the lines of:
{{{
Attempt to read property "post_type" on null in wp-includes/class-wp-query.php on line 4338
}}}

Follow-up to [1728], [3639], [8807], [49119].

Props dd32, yellyc, boonebgorges, darkskipper, Howdy_McGee, swissspidy, nacin, mikeschroder, mikejolley, sterlo, datainterlock, utsavmadaan823, kanlukasz, woji29911, hellofromTonya, zikubd, deksar, bwbama, noplanman, nouarah, SergeyBiryukov.
Fixes #29660.
Built from https://develop.svn.wordpress.org/trunk@54496


git-svn-id: http://core.svn.wordpress.org/trunk@54055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-11 18:15:13 +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
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
ID3 External Libraries: Update getID3 to version 1.9.22. 2022-10-04 02:08:11 +00:00
images
IXR
js External Libraries: Further fix jQuery deprecations in WordPress core. 2022-10-11 17:37: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.5. 2022-10-09 17:12:31 +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
Requests
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
SimplePie
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
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 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
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 Editor: Ensure WP_Query and WP_Term_Query results are referenced properly when creating dynamic template names for use in the site editor. 2022-10-11 17:30:12 +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-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 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
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: Avoid PHP notices when get_queried_object() returns null. 2022-10-11 18:15:13 +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
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 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
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
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 Query: Avoid PHP notices when get_queried_object() returns null. 2022-10-11 18:15: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