WordPress/wp-includes
Sergey Biryukov 5b046976cc Canonical: Redirect paged requests for a static page assigned as the "Posts page".
This avoids displaying duplicate content of the home page under different URLs with appended page numbers.

This change only affects the `<!--nextpage-->` pagination (`page` query variable) and not the regular multiple posts pagination (`paged` query variable).

The posts page does not support the `<!--nextpage-->` pagination, so requests for invalid page numbers should be redirected to the page permalink, applying the logic previously implemented for single posts or pages.

Follow-up to [34492], [47727].

Props jeremyfelt, sachit.tandukar, SergeyBiryukov.
Fixes #45337. See #40773, #28081, #11694.
Built from https://develop.svn.wordpress.org/trunk@47760


git-svn-id: http://core.svn.wordpress.org/trunk@47536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-04 10:42:07 +00:00
..
ID3 General: More PHP compatibility adjustments. 2020-05-01 20:12:06 +00:00
IXR Date/Time: Replace all instances of `date()` with `gmdate()`. 2019-05-26 00:12:54 +00:00
Requests External Libraries: Fix PHP 7.4 compatibility issue in the Requests library. 2019-10-06 17:14:02 +00:00
SimplePie External Libraries: Update the SimplePie library to the latest version (1.5.5). 2020-05-01 14:26:07 +00:00
Text
assets Block Editor: Update WordPress Packages WordPress 5.4 RC 5 Take 2. 2020-03-27 22:08:24 +00:00
blocks Block Editor: Update WordPress Packages WordPress 5.4 RC 4. 2020-03-23 23:40:19 +00:00
certificates HTTP: Update the Root Certificate bundle. 2019-09-12 12:04:59 +00:00
css Media: Remove `display: none;` from the (visually hidden) `<input type="file">` button used in Plupload to select files for uploading. Fixes selecting files in Edge <= 44 and iOS Safari. 2020-04-04 22:54:09 +00:00
customize Coding Standards: Use strict type check for `in_array()` and `array_search()`. 2020-04-09 15:43:10 +00:00
fonts Administration: Fix Dashicon backwards compatibility issues. 2019-03-27 19:59:52 +00:00
images Build/Test tools: Update grunt-contrib-imagemin and run it 2019-10-05 14:20:59 +00:00
js Block Editor: Update WordPress Packages WordPress 5.4 RC 5 Take 2. 2020-03-27 22:08:24 +00:00
pomo Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
random_compat
rest-api REST API: Support more JSON Schemas when filtering a response by context. 2020-05-04 02:46:05 +00:00
sodium_compat Upgrade/Install: Update sodium_compat to v1.12.1. 2019-12-09 16:42:04 +00:00
theme-compat Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
widgets Coding Standards: Format the markup of widget forms in a more consistent manner. 2020-04-17 09:38:07 +00:00
admin-bar.php Users: Change "Your Profile" and "My Profile" links in admin menu and toolbar to just "Profile" for consistency. 2020-04-20 08:39:06 +00:00
atomlib.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
author-template.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
blocks.php Docs: Use more specific types in parameter descriptions in place of `mixed`. 2020-03-01 10:38:07 +00:00
bookmark-template.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
bookmark.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
cache.php Coding Standards: Move `WP_Object_Cache` to `wp-includes/class-wp-object-cache.php`. 2020-02-06 05:53:06 +00:00
canonical.php Canonical: Redirect paged requests for a static page assigned as the "Posts page". 2020-05-04 10:42:07 +00:00
capabilities.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
category-template.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
category.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-IXR.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00
class-feed.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00
class-http.php Code Modernization: Remove error suppression from `parse_url()` calls. 2020-04-24 07:28:10 +00:00
class-json.php Docs: Correct `@see` references for PHP 4 constructors in `wp-includes/class-json.php`. 2019-11-02 20:13:02 +00:00
class-oembed.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00
class-phpass.php Docs: Update URLs in some `@link` tags and switch them to HTTPS. 2019-11-01 14:57:02 +00:00
class-phpmailer.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00
class-pop3.php General: More PHP compatibility adjustments. 2020-05-01 20:12:06 +00:00
class-requests.php Docs: Further improve documentation of known return types, plus other docs fixes. 2019-11-05 21:27:02 +00:00
class-simplepie.php External Libraries: Update the SimplePie library to the latest version (1.5.5). 2020-05-01 14:26:07 +00:00
class-smtp.php Mail: Update PHPMailer to 5.2.27. 2019-09-12 14:37:57 +00:00
class-snoopy.php General: Fix various issues flagged by the PHPCompatibilityWP PHPCS ruleset. 2020-05-01 19:07:09 +00:00
class-walker-category-dropdown.php
class-walker-category.php Menus: In `Walker_Nav_Menu`, `Walker_Category`, and `Walker_Page`, properly output link attributes having a legitimate "empty" value, for example an HTML data attribute with a value of zero (0). 2019-10-06 15:06:03 +00:00
class-walker-comment.php Docs: Add missing description for `$comment` global. 2019-10-04 22:19:57 +00:00
class-walker-nav-menu.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-walker-page-dropdown.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-walker-page.php Coding Standards: Use strict type check for `in_array()` and `array_search()`. 2020-04-09 15:43:10 +00:00
class-wp-admin-bar.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-ajax-response.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-block-parser.php Block Editor: Update WordPress Packages to solve PHP 5.2.2 parser incompatibility. 2019-02-07 09:02:49 +00:00
class-wp-block-styles-registry.php Editor: Fix typo in an error message in `WP_Block_Styles_Registry::register()`. 2019-10-27 14:09:02 +00:00
class-wp-block-type-registry.php Docs: Misc docblock corrections and improvements. 2020-05-03 19:38:08 +00:00
class-wp-block-type.php REST API: Preserve unknown, respect `null` in server-side block rendering. 2018-12-17 18:00:52 +00:00
class-wp-comment-query.php Comments: Restore inclusion of an empty comment type when building the `WHERE` clause in `WP_Comment_Query::get_comment_ids()`. 2020-04-26 13:14:06 +00:00
class-wp-comment.php Comments: Use `comment` instead of an empty string for the `comment_type` DB field value in comments table. 2020-04-17 19:35:06 +00:00
class-wp-customize-control.php Docs: Add a reference to `WP_Customize_Setting::__construct()` for information on accepted arguments in `WP_Customize_Manager::add_setting()`. 2020-02-27 20:09:06 +00:00
class-wp-customize-manager.php Docs: Correct `@since` versions, remove duplicate comment. 2020-04-29 17:25:10 +00:00
class-wp-customize-nav-menus.php Menus: Allow empty taxonomy terms to be surfaced when searching for items. 2020-05-02 22:36:07 +00:00
class-wp-customize-panel.php Docs: Add a reference to `WP_Customize_Panel::__construct()` for information on accepted arguments in `WP_Customize_Manager::add_panel()`. 2020-02-27 20:36:07 +00:00
class-wp-customize-section.php Docs: Add a reference to `WP_Customize_Section::__construct()` for information on accepted arguments in `WP_Customize_Manager::add_section()`. 2020-02-27 20:29:06 +00:00
class-wp-customize-setting.php Docs: Clarify the type of `theme_supports` argument in various Customizer classes. 2020-02-27 20:23:06 +00:00
class-wp-customize-widgets.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-date-query.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-dependency.php Docs: Use more specific type in description for `_WP_Dependency::$deps`. 2020-03-01 16:24:04 +00:00
class-wp-editor.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-embed.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-error.php Docs: Update `since` annotations `WP_Error::has_errors()` 2019-01-09 22:42:51 +00:00
class-wp-fatal-error-handler.php Site Health: Remove `esc_url()` used on "Debugging in WordPress" article URL in `WP_Fatal_Error_Handler::display_default_error_template()`. 2020-03-27 18:22:06 +00:00
class-wp-feed-cache-transient.php
class-wp-feed-cache.php
class-wp-hook.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-http-cookie.php Code Modernization: Remove error suppression from `parse_url()` calls. 2020-04-24 07:28:10 +00:00
class-wp-http-curl.php Coding Standards: Use strict type check for `in_array()` and `array_search()`. 2020-04-09 15:43:10 +00:00
class-wp-http-encoding.php Docs: Update links to https://secure.php.net/, they now redirect to https://www.php.net/. 2020-01-20 03:14:06 +00:00
class-wp-http-ixr-client.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-http-proxy.php Code Modernization: Remove error suppression from `parse_url()` calls. 2020-04-24 07:28:10 +00:00
class-wp-http-requests-hooks.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-http-requests-response.php Docs: Fix and improve inline documentation for the HTTP API. 2019-10-12 18:05:04 +00:00
class-wp-http-response.php Coding Standards: Fix/ignore the `WordPress.NamingConventions.ValidFunctionName` violations. 2019-07-01 08:01:57 +00:00
class-wp-http-streams.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-image-editor-gd.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-image-editor-imagick.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-image-editor.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-list-util.php Coding Standards: Fix the `Squiz.PHP.DisallowMultipleAssignments` violations in `wp-includes`. 2019-07-02 23:42:58 +00:00
class-wp-locale-switcher.php Docs: Add missing description for `$wp_locale` global. 2019-08-04 01:46:55 +00:00
class-wp-locale.php Docs: Add descriptions for some globals: 2020-02-10 03:30:06 +00:00
class-wp-matchesmapregex.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-meta-query.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-metadata-lazyloader.php Text Changes: Add missing periods to some error messages, for consistency. 2020-02-01 20:32:05 +00:00
class-wp-network-query.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-network.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-object-cache.php Cache API: Ensure proper escaping around the stats method in the cache API. 2020-04-29 15:36:06 +00:00
class-wp-oembed-controller.php REST API: Validate that the oembed url parameter is a string. 2020-05-03 22:42:06 +00:00
class-wp-oembed.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-paused-extensions-storage.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-post-type.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-post.php Coding Standards: Use strict comparison in `WP_Post` where possible. 2019-03-15 21:55:50 +00:00
class-wp-query.php Query: Ensure that only a single post can be returned on date/time based queries. 2020-04-29 15:28:04 +00:00
class-wp-recovery-mode-cookie-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-recovery-mode-email-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-recovery-mode-key-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-recovery-mode-link-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-recovery-mode.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rewrite.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-role.php Docs: Switch more docs over to typed array notation, plus some fixes. 2019-10-26 21:09:04 +00:00
class-wp-roles.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-session-tokens.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-simplepie-file.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-simplepie-sanitize-kses.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-site-query.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-site.php Multisite: Improve performance by caching not found lookups for sites and networks. 2019-08-29 12:42:56 +00:00
class-wp-tax-query.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-taxonomy.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-term-query.php Docs: Correct and improve the readability of some parameters of `WP_Term_Query`. 2019-11-04 17:50:02 +00:00
class-wp-term.php
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-theme.php Docs: Correct `@return` type for `WP_Theme::get_post_templates()`. 2020-04-28 15:02:11 +00:00
class-wp-user-meta-session-tokens.php Docs: Add `@see WP_Session_Tokens` to the `WP_User_Meta_Session_Tokens` docblock. 2019-01-09 05:04:50 +00:00
class-wp-user-query.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-user-request.php Docs: Add missing `@since` tags for `WP_User_Request` properties. 2020-03-23 20:20:09 +00:00
class-wp-user.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-walker.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-widget-factory.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-widget.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-xmlrpc-server.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp.php Canonical: Redirect paged requests for a static page assigned as the "Posts page". 2020-05-04 10:42:07 +00:00
class.wp-dependencies.php Docs: Revert a type change for the `$value` parameter of `WP_Dependencies::add_data()` in [47170]. 2020-03-24 20:56:09 +00:00
class.wp-scripts.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class.wp-styles.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
comment-template.php Comments: Fix title not updating when replying to a comment 2020-03-25 04:55:10 +00:00
comment.php Comments: Ensure that inserting a comment with an empty type results in correct `comment` type. 2020-04-26 13:44:07 +00:00
compat.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
cron.php Docs: Misc docblock corrections and improvements. 2020-05-03 19:38:08 +00:00
date.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00
default-constants.php Docs: Fix typo in a comment with `WP_DEBUG_DISPLAY` description. 2020-02-02 05:34:05 +00:00
default-filters.php Comments: Use `comment` instead of an empty string for the `comment_type` DB field value in comments table. 2020-04-17 19:35:06 +00:00
default-widgets.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00
deprecated.php Bootstrap/Load: Deprecate `wp_unregister_GLOBALS()`. 2020-04-22 15:42:09 +00:00
embed-template.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00
embed.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
error-protection.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-atom-comments.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
feed-atom.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-rdf.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-rss.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-rss2-comments.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed-rss2.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed.php Code Modernization: Remove error suppression from `parse_url()` calls. 2020-04-24 07:28:10 +00:00
formatting.php Formatting: Expand `sanitize_file_name` to have better support for utf8 characters. 2020-04-29 15:40:07 +00:00
functions.php Code Modernization: Remove error suppression from `parse_url()` calls. 2020-04-24 07:28:10 +00:00
functions.wp-scripts.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
functions.wp-styles.php Script Loader: Fix a docblock so it points to the correct page on the developer reference. 2020-02-07 17:42:06 +00:00
general-template.php Coding Standards: Use strict type check for `in_array()` and `array_search()`. 2020-04-09 15:43:10 +00:00
http.php Code Modernization: Remove error suppression from `parse_url()` calls. 2020-04-24 07:28:10 +00:00
kses.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
l10n.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
link-template.php Coding Standards: Use strict type check for `in_array()` and `array_search()`. 2020-04-09 15:43:10 +00:00
load.php Upgrade/Install: Introduce `wp_in_maintenance_mode()`, a helper function to check if WordPress is currently in maintenance mode. 2020-04-25 20:19:07 +00:00
locale.php Docs: Add missing `@deprecated` tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
media-template.php Media: Add link to the original image in the image properties if it was scaled or rotated after uploading. 2020-02-07 05:13:05 +00:00
media.php Media: Ensure a consistent structure for the array returned by `wp_get_attachment_image_src()`. 2020-05-02 22:57:06 +00:00
meta.php Docs: Synchronize parameter documentation for various metadata functions, update per the documentation standards. 2020-04-22 10:31:09 +00:00
ms-blogs.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
ms-default-constants.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
ms-default-filters.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
ms-deprecated.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00
ms-files.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
ms-functions.php Docs: Misc docblock corrections and improvements. 2020-05-03 19:38:08 +00:00
ms-load.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
ms-network.php Multisite: Introduce `ms-site.php` and `ms-network.php` files. 2019-01-08 09:15:49 +00:00
ms-settings.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00
ms-site.php Docs: Synchronize parameter documentation for various metadata functions, update per the documentation standards. 2020-04-22 10:31:09 +00:00
nav-menu-template.php Coding Standards: Use strict type check for `in_array()` and `array_search()`. 2020-04-09 15:43:10 +00:00
nav-menu.php Menus: When adding a label for special pages in `wp_setup_nav_menu_item()` strip all HTML tags, as the label is escaped on output. 2020-03-16 01:32:05 +00:00
option.php Docs: Synchronize parameter documentation for various metadata functions, update per the documentation standards. 2020-04-22 10:31:09 +00:00
pluggable-deprecated.php Docs: In various `@return` tags, list the expected type first, instead of `false`. 2020-01-11 18:32:05 +00:00
pluggable.php Code Modernization: Remove error suppression from `parse_url()` calls. 2020-04-24 07:28:10 +00:00
plugin.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
post-formats.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
post-template.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
post-thumbnail-template.php Post Thumbnails: Make sure `get_post_thumbnail_id()` returns an integer, to match the documented return value. 2020-02-02 03:08:04 +00:00
post.php Customize: Add additional filters to Customizer to prevent JSON corruption. 2020-04-29 15:14:10 +00:00
query.php Docs: Use more specific type in parameter descriptions for `is_page()`, `is_single()`, `is_singular()`, and their `WP_Query` counterpart methods. 2020-03-01 17:29:06 +00:00
registration-functions.php Docs: Add missing `@deprecated` tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
registration.php Docs: Add missing `@deprecated` tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
rest-api.php REST API: Support more JSON Schemas when filtering a response by context. 2020-05-04 02:46:05 +00:00
revision.php Coding Standards: Use strict comparison for `normalize_whitespace()` checks when comparing revisions or autosaves. 2020-02-25 19:35:09 +00:00
rewrite.php Coding Standards: Use strict type check for `in_array()` and `array_search()`. 2020-04-09 15:43:10 +00:00
rss-functions.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00
rss.php
script-loader.php Privacy: Add an indication when the Copy action in Privacy Policy Guide is complete. 2020-04-12 14:26:11 +00:00
session.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00
shortcodes.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
spl-autoload-compat.php Code Modernisation: Remove the SPL autoloader polyfill. 2019-07-15 05:11:56 +00:00
taxonomy.php Docs: Synchronize parameter documentation for various metadata functions, update per the documentation standards. 2020-04-22 10:31:09 +00:00
template-loader.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00
template.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00
theme.php Themes: Block theme activation if it requires a higher version of PHP or WordPress. 2020-04-13 15:28:11 +00:00
update.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:02:11 +00:00
user.php User: Invalidate `user_activation_key` on password update. 2020-04-29 15:25:07 +00:00
vars.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
version.php Canonical: Redirect paged requests for a static page assigned as the "Posts page". 2020-05-04 10:42:07 +00:00
widgets.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
wlwmanifest.xml
wp-db.php Docs: Further update inline documentation for the `wpdb` class per the documentation standards. 2020-05-03 11:45:06 +00:00
wp-diff.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00