WordPress/wp-includes
Weston Ruter 9038612705 Embeds: Conditionally enqueue `wp-embed` only if needed and send `ready` message in case script loads after post embed windows.
* Prevent loading `wp-embed` script unconditionally on every page in favor of conditionally enqueueing when a post embed is detected. The `wp-embed` script is also explicitly marked as being in the footer group. Sites which currently disable post embed scripts from being enqueued via `remove_action( 'wp_head', 'wp_oembed_add_host_js' )` will continue to do so.
* Send a `ready` message from the host page to each post embed window in case the `iframe` loads before the `wp-embed` script does. When the `ready` message is received by the post embed window, it sends the same `height` message as it sends when it loads.
* Eliminate use of `grunt-include` to inject emoji script and the post embed script. Instead obtain the script contents via `file_get_contents()` (as is done elsewhere in core) and utilize `wp_print_inline_script_tag()`/`wp_get_inline_script_tag()` to construct out the script. This simplifies the logic and allows the running of src without `SCRIPT_DEBUG` enabled.
* For the embed code that users are provided to copy for embedding outside of WP, add the `secret` on the `blockquote` and `iframe`. This ensures the `blockquote` will be hidden when the `iframe` loads. The embed code in question is accessed here via `get_post_embed_html()`.

Props westonruter, swissspidy, pento, flixos90, ocean90.
Fixes #44632, #44306.

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


git-svn-id: http://core.svn.wordpress.org/trunk@51724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-11 02:49:18 +00:00
..
ID3 External Libraries: Revert [51900] for now to investigate test failures. 2021-10-10 01:16:57 +00:00
IXR XML-RPC: Set HTTP status code in accordance with the spec. 2021-05-24 02:18:58 +00:00
PHPMailer External Libraries: Restore the `phpcs:ignore` statements in PHPMailer. 2021-08-18 14:08:56 +00:00
Requests External Libraries: Update the Requests library to version `1.8.0`. 2021-05-11 19:42:02 +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 Update @wordpress packages 2021-11-10 06:01:30 +00:00
block-patterns Add Site Editor and PHP changes from Gutenberg 10.1 - 11.9 2021-11-09 02:17:17 +00:00
block-supports Update @wordpress packages 2021-11-10 06:01:30 +00:00
blocks Update @wordpress packages 2021-11-10 06:01:30 +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 Update @wordpress packages 2021-11-10 06:01:30 +00:00
customize Code Modernization: Fix parameter name mismatch with parent in `WP_Customize_Custom_CSS_Setting::validate()`. 2021-09-09 15:18:55 +00:00
fonts Administration: Reverse the arrow direction for database import/export icons. 2020-07-17 17:11:03 +00:00
images Customize: Move the WordPress logo with a white background to the `wp-includes` directory. 2020-05-21 09:10:12 +00:00
js Embeds: Conditionally enqueue `wp-embed` only if needed and send `ready` message in case script loads after post embed windows. 2021-11-11 02:49:18 +00:00
php-compat Docs: Improve documentation for a few functions per the documentation standards. 2021-08-10 13:45:57 +00:00
pomo Coding Standards: Add `public` visibility to methods in `src` directory. 2021-10-18 17:52:58 +00:00
random_compat
rest-api Update @wordpress packages 2021-11-10 06:01:30 +00:00
sitemaps Code Modernization: Fix parameter name mismatches for parent/child classes in `WP_Sitemaps_Provider::get_max_num_pages()`. 2021-09-09 19:42:56 +00:00
sodium_compat Upgrade/Install: Update sodium_compat to v1.17.0. 2021-08-10 13:04:57 +00:00
theme-compat Bundled Themes: Use HTTPS for XHTML Friends Network URL. 2020-07-03 23:42:01 +00:00
widgets Widgets: Add filter to disable RSS widget icon. 2021-11-07 23:04:56 +00:00
admin-bar.php Docs: Improve various inline documentation for admin bar functions and hooks. 2021-10-04 20:46:59 +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 Users: Escape `get_author_posts_url()` link in `wp_list_authors()`. 2021-06-21 06:06:57 +00:00
block-editor.php Editor, Docs: Add documentation for the `$block_editor_context` parameter of the `block_editor_rest_api_preload_paths` hook. 2021-11-09 13:00:00 +00:00
block-i18n.json Blocks: Add support for `variations in `block.json` file 2021-08-11 09:08:01 +00:00
block-patterns.php Editor: Ensure the Query block pattern category is translatable. 2021-07-02 14:35:58 +00:00
block-template-utils.php Docs: Avoid using “CPT” instead of “custom post type”. 2021-11-10 14:18:06 +00:00
block-template.php Coding Standards: Use static closures when not using `$this`. 2021-08-26 12:59:02 +00:00
blocks.php Add Site Editor and PHP changes from Gutenberg 10.1 - 11.9 2021-11-09 02:17:17 +00:00
bookmark-template.php General: Add "noopener" to `wp_list_bookmarks()` output. 2021-11-08 23:06:58 +00:00
bookmark.php General: Ensure consistent type for integer properties of a bookmark object. 2021-05-20 00:04:56 +00:00
cache-compat.php Docs: Add missing documentation for the `$group` parameter of `WP_Object_Cache::get_multiple()`. 2020-06-10 09:57:09 +00:00
cache.php Docs: Upgrade more parameters in docblocks to used typed array notation. 2020-11-24 21:27:05 +00:00
canonical.php Permalinks: Revert the changes stemming from pagination limits. 2021-06-08 23:32:56 +00:00
capabilities.php Roles/Caps: Return same result from `current_user_can` and `user_can()`. 2021-03-04 00:14:04 +00:00
category-template.php Docs: Document some more common names for dynamic hooks and standardise the phrasing used. 2021-09-21 18:21:00 +00:00
category.php Docs: Miscellaneous DocBlock corrections. 2020-07-23 21:55:04 +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 Coding Standards: Move `wp-includes/class-http.php` to `wp-includes/class-wp-http.php`. 2021-11-07 01:36:57 +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 Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00
class-phpass.php External Libraries: Update the phpass library to version `0.5`. 2021-05-25 18:47:59 +00:00
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 General: More PHP compatibility adjustments. 2020-05-01 20:12:06 +00:00
class-requests.php External Libraries: Update the Requests library to version 1.8.1. 2021-06-06 14:05:56 +00:00
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 General: Fix various issues flagged by the PHPCompatibilityWP PHPCS ruleset. 2020-05-01 19:07:09 +00:00
class-walker-category-dropdown.php Code Modernization: Fix last parameter name mismatches for parent/child classes in `Walker::start_el()`. 2021-09-09 12:39:59 +00:00
class-walker-category.php Code Modernization: Fix reserved keyword and parameter name mismatches for parent/child classes in `Walker::end_el()`. 2021-09-09 13:03:55 +00:00
class-walker-comment.php Code Modernization: Fix reserved keyword and parameter name mismatches for parent/child classes in `Walker::end_el()`. 2021-09-09 13:03:55 +00:00
class-walker-nav-menu.php Code Modernization: Fix reserved keyword and parameter name mismatches for parent/child classes in `Walker::end_el()`. 2021-09-09 13:03:55 +00:00
class-walker-page-dropdown.php Code Modernization: Fix last parameter name mismatches for parent/child classes in `Walker::start_el()`. 2021-09-09 12:39:59 +00:00
class-walker-page.php Code Modernization: Fix reserved keyword and parameter name mismatches for parent/child classes in `Walker::end_el()`. 2021-09-09 13:03:55 +00:00
class-wp-admin-bar.php Docs: Improve documentation for `WP_Admin_Bar` methods. 2021-09-29 13:39:59 +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 Application Passwords: Various docblock improvements. 2021-10-30 20:26:59 +00:00
class-wp-block-editor-context.php Editor: Add missing class WP_Block_Editor_Context 2021-05-24 07:38:58 +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 Editor: Update @wordpress npm packages 2021-02-02 05:17:13 +00:00
class-wp-block-pattern-categories-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-patterns-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-styles-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-supports.php Editor: Update @wordpress npm packages 2021-01-28 02:04:13 +00:00
class-wp-block-template.php Editor: Add block theme infrastructure 2021-11-08 23:10:59 +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 Build: Split packages and blocks to their webpack configs 2021-07-28 10:06:59 +00:00
class-wp-block.php Apply the `pre_render_block`, `render_block_data`, and `render_block_context` filters when rendering inner/nested blocks. Introdices another param to these filters: `$parent_block` that is the "parent" WP_Block instance for nested blocks and null for top level blocks. Adds unit tests for the filters. 2021-10-06 18:49:01 +00:00
class-wp-comment-query.php Code Modernization: Fix "passing null to non-nullable" deprecation notice in `WP_Comment_Query::get_comment_ids()`. 2021-09-13 18:54:59 +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 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 Coding Standards: Add `public` visibility to methods in `src` directory. 2021-10-18 17:52:58 +00:00
class-wp-customize-nav-menus.php Docs: Miscellaneous inline documentation improvements, including: 2021-10-04 20:44:02 +00:00
class-wp-customize-panel.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
class-wp-customize-section.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
class-wp-customize-setting.php Coding Standards: Add `public` visibility to methods in `src` directory. 2021-10-18 17:52:58 +00:00
class-wp-customize-widgets.php Widgets: Revert [51705]. 2021-09-09 21:40:57 +00:00
class-wp-date-query.php Docs: Update `WP_Date_Query` documentation to reflect changes in accepted column names. 2021-10-14 18:05:04 +00:00
class-wp-dependency.php Docs: Various corrections to inline docblocks. 2020-07-23 00:48:06 +00:00
class-wp-editor.php Editor: Revert [51748] and [51649]. They intorduced a bug where `wp.editor` may be replaced with `wp.oldEditor` in certain cases. 2021-09-08 23:29:58 +00:00
class-wp-embed.php Administration: Consistently escape `admin_url()` links. 2021-06-17 14:37:00 +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 Booststrap/Load: Only reference recovery mode email when it can be sent. 2021-06-05 15:46:57 +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 Code Modernization: Silence the deprecation warnings for missing return type in `WP_Hook`. 2021-08-03 11:02:00 +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: Move `wp-includes/class-http.php` to `wp-includes/class-wp-http.php`. 2021-11-07 01:36:57 +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 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: Miscellaneous docblock improvements. 2020-06-26 18:40:04 +00:00
class-wp-http-requests-hooks.php Docs: Descriptive improvements and corrections for various docblocks. 2021-07-01 21:12:58 +00:00
class-wp-http-requests-response.php
class-wp-http-response.php
class-wp-http-streams.php Coding Standards: Move `wp-includes/class-http.php` to `wp-includes/class-wp-http.php`. 2021-11-07 01:36:57 +00:00
class-wp-http.php Coding Standards: Move `wp-includes/class-http.php` to `wp-includes/class-wp-http.php`. 2021-11-07 01:36:57 +00:00
class-wp-image-editor-gd.php Code Modernization: Fix parameter name mismatches for parent/child classes in `WP_Image_Editor::save()`. 2021-09-09 20:39:58 +00:00
class-wp-image-editor-imagick.php Code Modernization: Fix parameter name mismatches for parent/child classes in `WP_Image_Editor::save()`. 2021-09-09 20:39:58 +00:00
class-wp-image-editor.php Docs: Fix some docblock syntax errors and add a missing canonical reference. 2021-11-08 10:44:59 +00:00
class-wp-list-util.php General: Convert `wp_list_filter()` into a wrapper for `wp_filter_object_list()`. 2021-11-09 01:10:59 +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 Code Modernization: Fix null to non-nullable deprecations in `WP_Meta_Query::get_sql_for_clause()`. 2021-09-10 16:01:03 +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 Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +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: 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 Wolfram Notebook as a trusted oEmbed provider. 2021-10-15 05:04:56 +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: Add a `@since` note for the `rest_namespace` argument of `register_post_type()` and `register_taxonomy()`. 2021-11-01 14:31:00 +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 Docs: Miscellaneous inline documentation improvements, including: 2021-10-04 20:44:02 +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 Coding Standards: Move some translator comments to the correct place. 2021-04-04 18:30:05 +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: Document the usage of `$pagenow` global in a few functions. 2021-02-22 19:18:12 +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: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +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: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +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 Docs: Miscellaneous DocBlock corrections. 2021-05-15 17:38:05 +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 Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
class-wp-site.php Docs: Various docblock corrections and improvements. 2021-02-20 17:10:11 +00:00
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 Docs: Add a `@since` note for the `rest_namespace` argument of `register_post_type()` and `register_taxonomy()`. 2021-11-01 14:31:00 +00:00
class-wp-term-query.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +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-json-resolver.php Docs: Avoid using “CPT” instead of “custom post type”. 2021-11-10 14:18:06 +00:00
class-wp-theme-json-schema.php Update theme.json classes for WordPress 5.9. 2021-11-08 19:19:58 +00:00
class-wp-theme-json.php Editor: Add block theme infrastructure 2021-11-08 23:10:59 +00:00
class-wp-theme.php Themes: Twenty Twenty-Two is now the default theme. 2021-11-10 00:41:00 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Role/Capability: Add support for capability queries in `WP_User_Query`. 2021-10-27 18:43:57 +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 Docs: Miscellaneous docblock corrections and improvements. 2021-09-22 21:23:00 +00:00
class-wp-walker.php Code Modernization: Fix reserved keyword and parameter name mismatches for parent/child classes in `Walker::end_el()`. 2021-09-09 13:03:55 +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 Coding Standards: Simplify the logic in `WP_Widget::get_field_name()` and `::get_field_id()`. 2021-06-04 10:47:58 +00:00
class-wp-xmlrpc-server.php Coding Standards: Move `wp-includes/class-http.php` to `wp-includes/class-wp-http.php`. 2021-11-07 01:36:57 +00:00
class-wp.php Code Modernization: Check the return type of `parse_url()` in `WP::parse_request()`. 2021-08-16 20:17:57 +00:00
class.wp-dependencies.php Docs: Miscellaneous docblock corrections and improvements. 2021-09-22 21:23:00 +00:00
class.wp-scripts.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
class.wp-styles.php Docs: Replace `$this` in hook param docs with more appropriate names. 2021-07-30 19:35:58 +00:00
comment-template.php Comments: Mark comment text field as required. 2021-11-07 21:14:58 +00:00
comment.php Comments: Mark comment text field as required. 2021-11-07 21:14:58 +00:00
compat.php General: Introduce polyfills for `str_ends_with()` and `str_starts_with()` added in PHP 8.0. 2021-11-08 14:22:57 +00:00
cron.php Docs: Miscellaneous docblock improvements. 2021-10-29 23:13:05 +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 Themes: Twenty Twenty-Two is now the default theme. 2021-11-10 00:41:00 +00:00
default-filters.php Docs: Avoid using “CPT” instead of “custom post type”. 2021-11-10 14:18:06 +00:00
default-widgets.php REST API: Add widget endpoints 2021-05-25 08:27:57 +00:00
deprecated.php General: Restore (un-deprecate) the `sanitize_url()` function. 2021-08-10 19:44:59 +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 Embeds: Conditionally enqueue `wp-embed` only if needed and send `ready` message in case script loads after post embed windows. 2021-11-11 02:49:18 +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 Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
feed-atom.php Coding Standards: Add a space before `/` character in some self-closing HTML tags. 2021-03-20 18:30:08 +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: 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 Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
feed.php Docs: Miscellaneous DocBlock corrections. 2021-05-15 17:38:05 +00:00
formatting.php Embeds: Conditionally enqueue `wp-embed` only if needed and send `ready` message in case script loads after post embed windows. 2021-11-11 02:49:18 +00:00
functions.php Login and Registration: Improve messaging for invalid log-out nonces. 2021-11-09 23:09:00 +00:00
functions.wp-scripts.php Docs: Provide a more accurate description for a few script and style functions. 2021-09-02 08:30:58 +00:00
functions.wp-styles.php Docs: Provide a more accurate description for a few script and style functions. 2021-09-02 08:30:58 +00:00
general-template.php Docs: Miscellaneous docblock improvements. 2021-10-30 20:17:01 +00:00
global-styles-and-settings.php Add: Public functions for interacting with global styles & settings. 2021-11-08 21:45:58 +00:00
http.php HTTP API: Ensure value returned from `'http_allowed_safe_ports'` is an array to avoid PHP 8+ TypeError fatal error. 2021-11-09 22:59:58 +00:00
https-detection.php Docs: Miscellaneous DocBlock corrections. 2021-05-15 17:38:05 +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 General: Minor fixes to Global Style related code. 2021-11-10 19:56:00 +00:00
l10n.php Coding Standards: Minor alignment fix after [52058]. 2021-11-09 18:51:02 +00:00
link-template.php Docs: List the expected return type first in a few functions: 2021-11-10 15:32:01 +00:00
load.php Bootstrap/Load: Add `HTTP/3` as a valid HTTP protocol. 2021-11-09 23:07:01 +00:00
locale.php
media-template.php Media: Change upload button to a file input for better e2e targeting. 2021-11-08 22:49:00 +00:00
media.php Media: Refine the heuristics to exclude certain images and iframes from being lazy-loaded to improve performance. 2021-11-09 00:36:01 +00:00
meta.php Docs: Document some more common names for dynamic hooks and standardise the phrasing used. 2021-09-21 18:21:00 +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 Code Modernization: Check the return type of `parse_url()` in `ms_cookie_constants()`. 2021-08-17 22:08:57 +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 Multisite: Log error/warnings/notices from `ms-files.php`. 2021-07-06 20:21:57 +00:00
ms-functions.php Login and Registration: Improve "email already exists" registration error message. 2021-11-09 15:28:59 +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 Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
ms-site.php Docs: Add a reference to `WP_Site_Query::__construct()` for information on accepted arguments in `get_sites()`. 2021-06-19 20:57:01 +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 REST API: Introduce Menu management endpoints. 2021-11-09 19:00:01 +00:00
option.php Docs: Various docblock improvements and corrections. 2021-11-08 10:48:59 +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 Mail: Add `wp_mail_succeeded` hook to `wp_mail`. 2021-11-09 22:27:59 +00:00
plugin.php Docs: Further synchronize documentation for some Plugin API functions. 2021-05-04 15:01:58 +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: Pass the post object to `the_password_form` filter. 2021-04-26 15:38:05 +00:00
post-thumbnail-template.php Media: Refine the heuristics to exclude certain images and iframes from being lazy-loaded to improve performance. 2021-11-09 00:36:01 +00:00
post.php General: Minor fixes to Global Style related code. 2021-11-10 19:56:00 +00:00
query.php Coding Standards: Remove a one-time `$message` variable in some `_doing_it_wrong()` calls. 2021-06-15 15:22:58 +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 General: Minor fixes to Global Style related code. 2021-11-10 19:56:00 +00:00
revision.php Revisions: Introduce `wp_get_post_revisions_url()` to get URL for editing revisions. 2021-11-10 01:26:59 +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: Remove contradictory directive check in `wp_robots()`. 2021-03-23 23:02:05 +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 Embeds: Conditionally enqueue `wp-embed` only if needed and send `ready` message in case script loads after post embed windows. 2021-11-11 02:49:18 +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: Remove a one-time `$message` variable in some `_doing_it_wrong()` calls. 2021-06-15 15:22:58 +00:00
sitemaps.php Docs: Miscellaneous DocBlock corrections. 2021-05-15 17:38:05 +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 Taxonomy: Document that the `get_terms` filter can have `null` for `$taxonomies`. 2021-11-10 21:11:00 +00:00
template-canvas.php Add Site Editor and PHP changes from Gutenberg 10.1 - 11.9 2021-11-09 02:17:17 +00:00
template-loader.php Coding Standards: Fix instances of `Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty`. 2020-05-26 09:37:10 +00:00
template.php Block Editor: Introduce block templates for classic themes. 2021-05-25 14:20:57 +00:00
theme-i18n.json Update theme.json classes for WordPress 5.9. 2021-11-08 19:19:58 +00:00
theme-templates.php Editor: Add block theme infrastructure 2021-11-08 23:10:59 +00:00
theme.json Update theme.json classes for WordPress 5.9. 2021-11-08 19:19:58 +00:00
theme.php Docs: Avoid using “CPT” instead of “custom post type”. 2021-11-10 14:18:06 +00:00
update.php Code Modernization: Pass correct default value to `http_build_query()` in `get_core_checksums()` and `wp_version_check()`. 2021-11-05 12:18:58 +00:00
user.php Coding Standards: Revert unrelated change to `wp_send_user_request()`. 2021-11-09 16:22:58 +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 Embeds: Conditionally enqueue `wp-embed` only if needed and send `ready` message in case script loads after post embed windows. 2021-11-11 02:49:18 +00:00
widgets.php REST API: Allow sidebars and their widgets to be public. 2021-11-05 02:15:59 +00:00
wlwmanifest.xml
wp-db.php Coding Standards: Add `public` visibility to methods in `src` directory. 2021-10-18 17:52:58 +00:00
wp-diff.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:33:11 +00:00