WordPress/wp-includes
Felix Arntz dbfbf5501a Security, Site Health: Make migrating a site to HTTPS a one-click interaction.
Switching a WordPress site from HTTP to HTTPS has historically been a tedious task. While on the surface the Site Address and WordPress Address have to be updated, existing content still remains using HTTP URLs where hard-coded in the database. Furthermore, updating _two_ URLs to migrate to HTTPS is still a fairly unintuitive step which is not clearly explained.

This changeset simplifies migration from HTTP to HTTPS and, where possible, makes it a one-click interaction.

* Automatically replace insecure versions of the Site Address (`home_url()`) with its HTTPS counterpart on the fly if the site has been migrated from HTTP to HTTPS. This is accomplished by introducing a `https_migration_required` option and enabling it when the `home_url()` is accordingly changed.
    * A new `wp_replace_insecure_home_url()` function is hooked into various pieces of content to replace URLs accordingly.
    * The migration only kicks in when the Site Address (`home_url()`) and WordPress Address (`site_url()`) match, which is the widely common case. Configurations where these differ are often maintained by more advanced users, where this migration routine would be less essential - something to potentially iterate on in the future though.
    * The migration does not actually update content in the database. More savvy users that prefer to do that can prevent the migration logic from running by either deleting the `https_migration_required` option or using the new `wp_should_replace_insecure_home_url` filter.
    * For fresh sites that do not have any content yet at the point of changing the URLs to HTTPS, the migration will also be skipped since it would not be relevant.
* Expose a primary action in the Site Health recommendation, if HTTPS is already supported by the environment, built on top of the HTTPS detection mechanism from [49904]. When clicked, the default behavior is to update `home_url()` and `site_url()` in one go to their HTTPS counterpart.
    * A new `wp_update_urls_to_https()` function takes care of the update routine.
    * A new `update_https` meta capability is introduced to control access.
    * If the site's URLs are controlled by constants, this update is not automatically possible, so in these scenarios the user is informed about that in the HTTPS status check in Site Health.
* Allow hosting providers to modify the URLs linked to in the HTTPS status check in Site Health, similar to how that is possible for the URLs around updating the PHP version.
    * A `WP_UPDATE_HTTPS_URL` environment variable or `wp_update_https_url` filter can be used to provide a custom URL with guidance about updating the site to use HTTPS.
    * A `WP_DIRECT_UPDATE_HTTPS_URL` environment variable or `wp_direct_update_https_url` filter can be used to provide a custom URL for the primary CTA to update the site to use HTTPS.

Props flixos90, timothyblynjacobs.
Fixes #51437.

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


git-svn-id: http://core.svn.wordpress.org/trunk@49810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-02 00:10:01 +00:00
..
ID3 Code Modernization: Only call `libxml_disable_entity_loader()` in PHP < 8. 2020-11-17 01:00:08 +00:00
IXR XML-RPC: Emit an appropriate HTTP status code when an error is returned in response to an XML-RPC request. 2020-12-21 20:23:02 +00:00
PHPMailer External Libraries: Upgrade PHPMailer to version 6.2.0. 2020-11-30 17:10:05 +00:00
Requests External Libraries: Disable deserialization in Requests_Utility_FilteredIterator 2020-10-29 18:00:08 +00:00
SimplePie External Libraries: Update the SimplePie library to version 1.5.6. 2020-10-16 17:20:07 +00:00
Text Code Modernization: Use `instanceof` instead of a comparison with `get_class()`. 2020-10-18 17:33:07 +00:00
assets Editor: Update @wordpress npm packages 2021-01-28 02:04:13 +00:00
block-patterns Editor: Don't unnecessarily split a translatable string in block templates. 2020-12-01 17:03:04 +00:00
block-supports Docs: Fix some docblock issues introduced in 5.6. 2020-12-10 23:27:06 +00:00
blocks Editor: Move blocks/classic -> blocks/freeform 2021-01-29 00:26:58 +00:00
certificates HTTP: Update the Root Certificate bundle. 2020-08-01 14:09:06 +00:00
css Editor: Update @wordpress npm packages 2021-01-28 02:04:13 +00:00
customize Administration: Remove italic text to improve readability. 2021-01-27 21:03:57 +00:00
fonts Administration: Reverse the arrow direction for database import/export icons. 2020-07-17 17:11:03 +00:00
images
js Media: Remove unused `refresh` from _requery. 2021-01-29 02:41:57 +00:00
pomo Docs: Various docblock improvements. 2020-12-10 23:59:03 +00:00
random_compat
rest-api REST API, Media: Add batch image editing endpoints. 2021-02-01 18:37:03 +00:00
sitemaps Sitemaps: Center the container for sitemap content. 2020-10-20 02:22:07 +00:00
sodium_compat Upgrade/Install: Update sodium_compat to v1.14.0. 2020-12-03 17:41:07 +00:00
theme-compat Bundled Themes: Use HTTPS for XHTML Friends Network URL. 2020-07-03 23:42:01 +00:00
widgets Plugins: Replace usage of `$this` in action and filter parameter docblocks with more appropriate variable names. 2021-01-08 14:30:14 +00:00
admin-bar.php Toolbar: Update Documentation and Support links. 2021-01-25 12:53:58 +00:00
atomlib.php Feeds: Fix "Only variables should be passed by reference" PHP notice in `atomlib.php`. 2020-10-17 15:45:06 +00:00
author-template.php Docs: Document parameters that accept an array of integers using typed array notation. 2020-11-19 18:24:09 +00:00
block-patterns.php Block Editor: Update the Core Block Patterns. 2020-07-27 15:14:04 +00:00
blocks.php Blocks: Add automatic RTL handlind for block styles registered from metadata 2021-01-19 11:50:08 +00:00
bookmark-template.php Docs: Clarify that the `$class` argument of `wp_list_bookmarks()` can accept an array. 2020-11-24 12:29:07 +00:00
bookmark.php Docs: Miscellaneous DocBlock corrections. 2020-07-23 21:55:04 +00:00
cache-compat.php
cache.php Docs: Upgrade more parameters in docblocks to used typed array notation. 2020-11-24 21:27:05 +00:00
canonical.php Canonical: Check if the post type exists when attempting a canonical redirect. 2021-01-03 17:56:06 +00:00
capabilities.php Security, Site Health: Make migrating a site to HTTPS a one-click interaction. 2021-02-02 00:10:01 +00:00
category-template.php Docs: Correct default value for the `number` argument of `wp_tag_cloud()`. 2021-01-24 14:07:57 +00:00
category.php Docs: Miscellaneous DocBlock corrections. 2020-07-23 21:55:04 +00:00
class-IXR.php
class-feed.php
class-http.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-json.php Coding Standards: Pass an empty string instead of `null` as the `$replacement` parameter to `_deprecated_file()`. 2020-11-12 11:17:07 +00:00
class-oembed.php
class-phpass.php
class-phpmailer.php Mail: Make sure the `PHPMailer` class is only required once if a plugin requires `wp-includes/class-phpmailer.php` directly. 2020-07-21 12:58:02 +00:00
class-pop3.php
class-requests.php
class-simplepie.php External Libraries: Update the SimplePie library to version 1.5.6. 2020-10-16 17:20:07 +00:00
class-smtp.php Mail: Make sure the `SMTP` class is only required once if a plugin requires `wp-includes/class-smtp.php` directly. 2021-01-26 13:45:57 +00:00
class-snoopy.php
class-walker-category-dropdown.php Docs: Fix and upgrade various `object` docblock notations. 2020-10-17 16:05:09 +00:00
class-walker-category.php Docs: Fix and upgrade various `object` docblock notations. 2020-10-17 16:05:09 +00:00
class-walker-comment.php Comments: Introduce a method for commenters to opt-in to receiving an email notification when their moderated comment gets approved. 2021-01-31 12:50:01 +00:00
class-walker-nav-menu.php General: Remove `noreferrer` from `wp_targeted_link_rel()` and other uses. 2020-10-19 23:39:04 +00:00
class-walker-page-dropdown.php
class-walker-page.php
class-wp-admin-bar.php Docs: Improve description for `WP_Admin_Bar::add_group()`. 2020-08-19 02:46:04 +00:00
class-wp-ajax-response.php Docs: Replace "html" and "xhtml" instances in DocBlocks and comments with "HTML" and "XHTML". 2020-06-28 14:02:06 +00:00
class-wp-application-passwords.php Docs: Update documentation for `WP_Application_Passwords::application_name_exists_for_user()` per the documentation standards. 2021-01-28 13:10:57 +00:00
class-wp-block-list.php Editor: Introduce WP_Block and WP_Block_List classes 2020-06-25 05:16:11 +00:00
class-wp-block-parser.php Editor: update packages; Port block supports to WordPress core. 2020-10-13 13:10:30 +00:00
class-wp-block-pattern-categories-registry.php Docs: Add missing `@since` tags for properties in some block editor classes: 2020-10-26 21:51:08 +00:00
class-wp-block-patterns-registry.php Docs: Add missing `@since` tags for properties in some block editor classes: 2020-10-26 21:51:08 +00:00
class-wp-block-styles-registry.php Docs: Standardise the type name for booleans and integers. 2020-10-10 20:02:05 +00:00
class-wp-block-supports.php Editor: Update @wordpress npm packages 2021-01-28 02:04:13 +00:00
class-wp-block-type-registry.php Docs: Add a note that the `$args` parameter of `register_block_type()` accepts any public property of `WP_Block_Type`. 2020-07-26 22:17:01 +00:00
class-wp-block-type.php Block Editor: Expose api_version in the block type and the REST endpoint. 2020-10-20 07:54:10 +00:00
class-wp-block.php Editor: Introduce a dynamic filter for the content of a single block: 2021-02-01 18:06:03 +00:00
class-wp-comment-query.php Plugins: Replace usage of `$this` in action and filter parameter docblocks with more appropriate variable names. 2021-01-08 14:30:14 +00:00
class-wp-comment.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-wp-customize-control.php Docs: Miscellaneous docblock fixes. 2020-10-17 14:54:05 +00:00
class-wp-customize-manager.php Robots: Introduce Robots API. 2021-01-21 01:37:00 +00:00
class-wp-customize-nav-menus.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
class-wp-customize-panel.php Coding Standards: Replace `echo sprintf()` with `printf()`. 2020-06-20 13:18:11 +00:00
class-wp-customize-section.php
class-wp-customize-setting.php Plugins: Replace usage of `$this` in action and filter parameter docblocks with more appropriate variable names. 2021-01-08 14:30:14 +00:00
class-wp-customize-widgets.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
class-wp-date-query.php Docs: Document parameters that accept an array of integers using typed array notation. 2020-11-19 18:24:09 +00:00
class-wp-dependency.php Docs: Various corrections to inline docblocks. 2020-07-23 00:48:06 +00:00
class-wp-editor.php I18N: Merge duplicate "Column" strings, remove unnecessary context. 2020-11-09 11:17:07 +00:00
class-wp-embed.php Docs: First pass at some inline docs fixes mostly made by PHPCBF. 2020-07-23 20:01:04 +00:00
class-wp-error.php General: Docblock improvements for the `WP_Error` class. 2020-10-09 22:30:04 +00:00
class-wp-fatal-error-handler.php Site Health: Site errors are for *this* site, not necessarily *your* site. 2020-11-02 19:55:07 +00:00
class-wp-feed-cache-transient.php
class-wp-feed-cache.php Feeds: Register transient feed cache handler using the recommended method for SimplePie 1.3 or later. 2020-11-12 14:36:10 +00:00
class-wp-hook.php Docs: In various `@return` tags, list the expected type first, instead of `false` or `WP_Error`. 2021-01-04 17:18:04 +00:00
class-wp-http-cookie.php Docs: Further corrections and improvements to various inline docblocks. 2020-07-23 07:39:02 +00:00
class-wp-http-curl.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
class-wp-http-encoding.php Docs: In various `@return` tags, list the expected type first, instead of `false`. 2021-01-15 20:08:07 +00:00
class-wp-http-ixr-client.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-wp-http-proxy.php Docs: Miscellaneous docblock improvements. 2020-06-26 18:40:04 +00:00
class-wp-http-requests-hooks.php Docs: Add missing `@since` tags. 2020-11-19 17:54:05 +00:00
class-wp-http-requests-response.php
class-wp-http-response.php
class-wp-http-streams.php Docs: Various docblock corrections and improvements. 2020-11-14 16:35:06 +00:00
class-wp-image-editor-gd.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-wp-image-editor-imagick.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-wp-image-editor.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-wp-list-util.php Coding Standards: Use strict comparison in `WP_List_Util::filter()`. 2020-07-10 12:46:09 +00:00
class-wp-locale-switcher.php I18N: Revert [49236] for now to investigate alternative implementations. 2020-11-12 14:43:09 +00:00
class-wp-locale.php Docs: Update the URL for PHP date formats table in translator comments. 2020-09-18 10:37:08 +00:00
class-wp-matchesmapregex.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
class-wp-meta-query.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-wp-metadata-lazyloader.php Docs: Various docblock corrections particularly relating to boolean types. 2021-01-03 21:57:09 +00:00
class-wp-network-query.php Plugins: Replace usage of `$this` in action and filter parameter docblocks with more appropriate variable names. 2021-01-08 14:30:14 +00:00
class-wp-network.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-wp-object-cache.php Docs: Various docblock corrections relating to parameter types. 2020-11-24 21:22:04 +00:00
class-wp-oembed-controller.php Docs: Corrections and improvements to inline docs relating to the REST API. 2020-11-16 11:04:12 +00:00
class-wp-oembed.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-wp-paused-extensions-storage.php Docs: Remove an empty line between `@param` and `@return` tags, per the documentation standards. 2020-06-20 11:18:09 +00:00
class-wp-post-type.php Docs: Various docblock improvements. 2020-12-10 23:59:03 +00:00
class-wp-post.php Docs: Docblock corrections relating to `WP_Post` objects. 2020-11-09 15:15:08 +00:00
class-wp-query.php Plugins: Replace usage of `$this` in action and filter parameter docblocks with more appropriate variable names. 2021-01-08 14:30:14 +00:00
class-wp-recovery-mode-cookie-service.php Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00
class-wp-recovery-mode-email-service.php Docs: In various `@return` tags, list the expected type first, instead of `false` or `WP_Error`. 2021-01-04 17:18:04 +00:00
class-wp-recovery-mode-key-service.php Docs: Remove unnecessary variables names from `@return` tags. 2020-06-19 22:55:12 +00:00
class-wp-recovery-mode-link-service.php Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00
class-wp-recovery-mode.php Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00
class-wp-rewrite.php Docs: Clarify and standardise on terminology used for rewrite rule endpoint masks. 2020-11-19 16:15:08 +00:00
class-wp-role.php Docs: Various formatting improvements to inline docblocks. 2020-07-23 00:52:05 +00:00
class-wp-roles.php Docs: First pass at some inline docs fixes mostly made by PHPCBF. 2020-07-23 20:01:04 +00:00
class-wp-session-tokens.php Code Modernization: Remove `final` keyword from private methods. 2020-08-12 15:05:08 +00:00
class-wp-simplepie-file.php Feed: Replace `join()` with `implode()` for safety. 2020-12-16 14:05:07 +00:00
class-wp-simplepie-sanitize-kses.php Docs: Standardise the type name for booleans and integers. 2020-10-10 20:02:05 +00:00
class-wp-site-query.php Plugins: Replace usage of `$this` in action and filter parameter docblocks with more appropriate variable names. 2021-01-08 14:30:14 +00:00
class-wp-site.php
class-wp-tax-query.php Docs: Improve docs for arguments that accept a numerically indexed array of associative arrays. 2020-07-14 12:10:05 +00:00
class-wp-taxonomy.php Taxonomy: Reorder some `WP_Taxonomy` properties for consistency. 2021-02-01 11:55:00 +00:00
class-wp-term-query.php Taxonomy: Correct and clarify documentation for the return types of term query functions. 2021-01-08 15:24:07 +00:00
class-wp-term.php Docs: Various docblock corrections. 2020-12-10 23:53:07 +00:00
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php Revisions: Generate correct number of columns in wp_text_diff. 2021-01-27 21:53:58 +00:00
class-wp-theme.php Plugins: Replace usage of `$this` in action and filter parameter docblocks with more appropriate variable names. 2021-01-08 14:30:14 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Plugins: Replace usage of `$this` in action and filter parameter docblocks with more appropriate variable names. 2021-01-08 14:30:14 +00:00
class-wp-user-request.php
class-wp-user.php Docs: Various docblock improvements. 2020-12-10 23:59:03 +00:00
class-wp-walker.php Docs: Fix typo in a comment in `Walker::display_element()`. 2020-11-05 18:46:10 +00:00
class-wp-widget-factory.php
class-wp-widget.php Plugins: Replace usage of `$this` in action and filter parameter docblocks with more appropriate variable names. 2021-01-08 14:30:14 +00:00
class-wp-xmlrpc-server.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-wp.php Plugins: Replace usage of `$this` in action and filter parameter docblocks with more appropriate variable names. 2021-01-08 14:30:14 +00:00
class.wp-dependencies.php
class.wp-scripts.php Docs, Tests: Correctly capitalize JavaScript. 2020-12-06 02:21:07 +00:00
class.wp-styles.php
comment-template.php Docs: Corrections and improvements to types used in various docblocks. 2021-01-05 17:16:11 +00:00
comment.php I18N: Correct placeholders in translator comments in `wp_new_comment_notify_comment_author()`. 2021-01-31 17:36:57 +00:00
compat.php Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:27:06 +00:00
cron.php Docs: In various `@return` tags, list the expected type first, instead of `false`. 2021-01-15 20:08:07 +00:00
date.php
default-constants.php Bundled Themes: Make Twenty Twenty-One the default theme. 2020-10-20 02:04:07 +00:00
default-filters.php Security, Site Health: Make migrating a site to HTTPS a one-click interaction. 2021-02-02 00:10:01 +00:00
default-widgets.php
deprecated.php Robots: Introduce Robots API. 2021-01-21 01:37:00 +00:00
embed-template.php
embed.php Administration: Standardize colors used in CSS to a single palette. 2021-01-26 18:54:59 +00:00
error-protection.php Docs: Add more information about how to use filters that run before WordPress initialises. 2020-11-03 17:36:09 +00:00
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss.php
feed-rss2-comments.php Docs: Use more appropriate variable names in the inline docs for action and filter parameters. 2020-07-23 19:06:03 +00:00
feed-rss2.php
feed.php Feeds: Register transient feed cache handler using the recommended method for SimplePie 1.3 or later. 2020-11-12 14:36:10 +00:00
formatting.php Docs: Correct description for `wp_slash()` and `wp_unslash()`. 2021-01-17 16:38:06 +00:00
functions.php Security, Site Health: Make migrating a site to HTTPS a one-click interaction. 2021-02-02 00:10:01 +00:00
functions.wp-scripts.php Docs, Tests: Correctly capitalize JavaScript. 2020-12-06 02:21:07 +00:00
functions.wp-styles.php Script Loader: Include the script or style handle in `_wp_scripts_maybe_doing_it_wrong()` message. 2020-06-17 10:16:08 +00:00
general-template.php Administration: Standardize colors used in CSS to a single palette. 2021-01-26 18:54:59 +00:00
http.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
https-detection.php Security: Allow short-circuiting the `wp_update_https_detection_errors()` process. 2021-01-29 20:00:02 +00:00
https-migration.php Security, Site Health: Make migrating a site to HTTPS a one-click interaction. 2021-02-02 00:10:01 +00:00
kses.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
l10n.php Docs: In various `@return` tags, list the expected type first, instead of `false`. 2021-01-15 20:08:07 +00:00
link-template.php Docs: Various docblock corrections. 2020-12-10 23:53:07 +00:00
load.php Docs: Update documentation for `wp_is_site_protected_by_basic_auth()` per the documentation standards. 2021-01-28 11:05:58 +00:00
locale.php
media-template.php Media: Fix the template for the "Align" and "Link To" fields in the media modal when inserting an image from URL. 2020-12-16 12:45:11 +00:00
media.php Media: Use consistent method for instantiating an attachment author object in Media Library. 2021-01-18 12:55:07 +00:00
meta.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
ms-blogs.php Docs: Fix and upgrade various `object` docblock notations. 2020-10-17 16:05:09 +00:00
ms-default-constants.php Docs: Remove `@staticvar` tags from core. 2020-06-20 12:40:12 +00:00
ms-default-filters.php Multisite: Delete the signup entry when a user is deleted from the database. 2020-07-05 11:21:03 +00:00
ms-deprecated.php Docs: Document parameters that accept an array of integers using typed array notation. 2020-11-19 18:24:09 +00:00
ms-files.php
ms-functions.php Docs: Corrections and improvements to types used in various docblocks. 2021-01-05 17:16:11 +00:00
ms-load.php Docs: Further corrections and promotions for docblocks relating to `object` types. 2020-10-18 20:53:08 +00:00
ms-network.php Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:27:06 +00:00
ms-settings.php
ms-site.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
nav-menu-template.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
nav-menu.php Menus: Make use of `wp_resolve_post_date()` when updating menu items. 2021-01-25 01:23:58 +00:00
option.php Docs: Miscellaneous docblock corrections and improvements. 2021-01-07 14:17:11 +00:00
pluggable-deprecated.php
pluggable.php Revisions: Generate correct number of columns in wp_text_diff. 2021-01-27 21:53:58 +00:00
plugin.php Docs: In various `@return` tags, list the expected type first, instead of `false` or `WP_Error`. 2021-01-04 17:18:04 +00:00
post-formats.php Docs: Upgrade more parameters in docblocks to used typed array notation. 2020-11-24 21:27:05 +00:00
post-template.php Posts, Post Types: Introduce new functions for determining if a post has a parent (`has_post_parent()`) and to fetch the post parent (`get_post_parent()`). 2021-02-01 21:22:02 +00:00
post-thumbnail-template.php Docs: Upgrade more parameters in docblocks to used typed array notation. 2020-11-24 21:27:05 +00:00
post.php Posts, Post Types: Additional functions to check if a post is publicly viewable. 2021-02-01 23:33:02 +00:00
query.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
registration-functions.php Coding Standards: Pass an empty string instead of `null` as the `$replacement` parameter to `_deprecated_file()`. 2020-11-12 11:17:07 +00:00
registration.php Coding Standards: Pass an empty string instead of `null` as the `$replacement` parameter to `_deprecated_file()`. 2020-11-12 11:17:07 +00:00
rest-api.php App Passwords: Introduce introspection endpoint. 2021-01-29 00:07:02 +00:00
revision.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
rewrite.php Docs: Clarify and standardise on terminology used for rewrite rule endpoint masks. 2020-11-19 16:15:08 +00:00
robots-template.php Robots: Add `max-image-preview:large` directive by default. 2021-01-29 20:38:03 +00:00
rss-functions.php Feeds: Add an early exit when calling RSS functions directly. 2020-11-16 22:52:05 +00:00
rss.php Docs: In various `@return` tags, list the expected type first, instead of `false` or `WP_Error`. 2021-01-04 17:18:04 +00:00
script-loader.php Users: enable admins to send users a reset password link. 2021-02-01 22:13:03 +00:00
session.php
shortcodes.php Docs: In various `@return` tags, list the expected type first, instead of `false`. 2021-01-15 20:08:07 +00:00
sitemaps.php Sitemaps: Prevent incorrect redirection of paged sitemap requests. 2020-08-27 01:30:04 +00:00
spl-autoload-compat.php Coding Standards: Pass an empty string instead of `null` as the `$replacement` parameter to `_deprecated_file()`. 2020-11-12 11:17:07 +00:00
taxonomy.php Posts, Post Types: Introduce "Filter by date" and "Filter by category" as post type and taxonomy labels, respectively. 2021-02-01 14:13:00 +00:00
template-loader.php
template.php Themes: Allow template loading functions to pass additional arguments to the template via the `$args` parameter. 2020-07-07 11:01:59 +00:00
theme.php Docs: Use more consistent descriptions for `void|false` return values. 2021-01-05 16:48:07 +00:00
update.php Upgrade/Install: Allow WordPress sites to opt-in to development releases. 2021-01-30 10:34:02 +00:00
user.php Privacy: Use more consistent wording for strings related to personal data requests. 2021-01-17 17:46:06 +00:00
vars.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
version.php Security, Site Health: Make migrating a site to HTTPS a one-click interaction. 2021-02-02 00:10:01 +00:00
widgets.php Docs: In various `@return` tags, list the expected type first, instead of `false`. 2021-01-15 20:08:07 +00:00
wlwmanifest.xml
wp-db.php Docs: Miscellaneous docblock corrections and improvements. 2021-01-07 14:17:11 +00:00
wp-diff.php