WordPress/wp-includes
Gary Pendergast d8863244cb Block Editor: Preload `wp/v2/media` with OPTIONS for caps check.
Also introduces a `block_editor_preload_paths` filter for plugins and themes to preload additional data.

Merges [43833] from the 5.0 branch to trunk.

Props imath, mattheu, danielbachhuber.
Fixes #45194.


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


git-svn-id: http://core.svn.wordpress.org/trunk@44002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 06:02:52 +00:00
..
ID3
IXR
Requests
SimplePie
Text
blocks Build Tools: Update the `@wordpress/*` packages. 2018-12-14 04:44:01 +00:00
certificates
css Build Tools: Update the `@wordpress/*` packages. 2018-12-14 04:44:01 +00:00
customize I18n: Improve translators comments [2]. 2018-08-30 12:36:24 +00:00
fonts
images
js Scripts: Revert some functions being incorrectly removed in [44163]. 2018-12-14 04:53:54 +00:00
pomo General: PHP7.3 throws an `E_WARNING` when using continue to target a switch 2018-09-23 22:50:24 +00:00
random_compat
rest-api REST API: Add endpoints for blocks. 2018-12-14 02:35:38 +00:00
theme-compat Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
widgets Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
admin-bar.php Multisite: Display registered `new_item` text for `post` post type in My Sites menu. 2018-08-29 15:50:25 +00:00
atomlib.php
author-template.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
blocks.php REST API: Include `block_version` on Post `content` object. 2018-12-14 00:55:37 +00:00
bookmark-template.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
bookmark.php
cache.php
canonical.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
capabilities.php Blocks: Add the reusable block post type, `wp_block`. 2018-12-14 02:15:37 +00:00
category-template.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
category.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-IXR.php
class-feed.php
class-http.php Docs: Add missing HTTP methods to the list of those supported. 2018-05-14 15:23:21 +00:00
class-json.php Docs: Fix typo in `Services_JSON` DocBlocks. 2018-06-28 02:20:54 +00:00
class-oembed.php Embeds: Filter HTML response in oEmbed proxy controller. 2018-12-14 03:20:37 +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
class-walker-category.php Taxonomy: Make sure `wp_list_categories()` correctly outputs term name of `0`. 2018-09-02 22:09:24 +00:00
class-walker-comment.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-walker-nav-menu.php Docs: Correct and improve various inline documentation. 2018-03-25 19:35:29 +00:00
class-walker-page-dropdown.php
class-walker-page.php Docs: Document more parameters and properties using typed array notation. 2018-03-25 18:10:32 +00:00
class-wp-admin-bar.php
class-wp-ajax-response.php
class-wp-block-parser.php Blocks: Parse blocks when displaying posts. 2018-12-13 22:22:38 +00:00
class-wp-block-type-registry.php Blocks: Introduce `WP_Block_Type` and `WP_Block_Type_Registry` classes. 2018-12-13 09:44:23 +00:00
class-wp-block-type.php Blocks: Introduce `WP_Block_Type` and `WP_Block_Type_Registry` classes. 2018-12-13 09:44:23 +00:00
class-wp-comment-query.php PHP7.3 compatibility: Fix compact throwing notices. 2018-12-14 05:13:52 +00:00
class-wp-comment.php Docs: Remove `@static` notations from method DocBlocks in `wp-includes/*` classes. 2018-02-25 20:22:30 +00:00
class-wp-customize-control.php Docs: Remove `@static` notations from property DocBlocks in `wp-admin/*` and `wp-includes/*` classes. 2018-02-25 20:32:30 +00:00
class-wp-customize-manager.php Customize: Safeguard a check on the `customize_validate_{$setting_id}` filter value to ensure it is a `WP_Error`. 2018-08-19 16:38:24 +00:00
class-wp-customize-nav-menus.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-customize-panel.php Docs: Remove `@static` notations from property DocBlocks in `wp-admin/*` and `wp-includes/*` classes. 2018-02-25 20:32:30 +00:00
class-wp-customize-section.php Docs: Remove `@static` notations from property DocBlocks in `wp-admin/*` and `wp-includes/*` classes. 2018-02-25 20:32:30 +00:00
class-wp-customize-setting.php General: Introduce `WP_Error::has_errors()` method and use it where appropriate. 2018-02-27 02:31:31 +00:00
class-wp-customize-widgets.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-dependency.php I18N: Add JavaScript translation support. 2018-12-14 05:52:52 +00:00
class-wp-editor.php Classic Editor: Disable the wpautop TinyMCE plugin on block posts. 2018-12-13 22:23:55 +00:00
class-wp-embed.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-error.php General: Introduce `WP_Error::has_errors()` method and use it where appropriate. 2018-02-27 02:31:31 +00:00
class-wp-feed-cache-transient.php
class-wp-feed-cache.php
class-wp-hook.php Docs: Remove `@static` notations from method DocBlocks in `wp-includes/*` classes. 2018-02-25 20:22:30 +00:00
class-wp-http-cookie.php
class-wp-http-curl.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-http-encoding.php Docs: Remove `@static` notations from method DocBlocks in `wp-includes/*` classes. 2018-02-25 20:22:30 +00:00
class-wp-http-ixr-client.php Docs: Document more parameters and properties using typed array notation. 2018-03-25 19:33:31 +00:00
class-wp-http-proxy.php
class-wp-http-requests-hooks.php
class-wp-http-requests-response.php
class-wp-http-response.php
class-wp-http-streams.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-image-editor-gd.php Docs: Remove `@static` notations from method DocBlocks in `wp-includes/*` classes. 2018-02-25 20:22:30 +00:00
class-wp-image-editor-imagick.php Docs: Remove `@static` notations from method DocBlocks in `wp-includes/*` classes. 2018-02-25 20:22:30 +00:00
class-wp-image-editor.php Docs: Remove `@static` notations from method DocBlocks in `wp-includes/*` classes. 2018-02-25 20:22:30 +00:00
class-wp-list-util.php
class-wp-locale-switcher.php REST API: Render response in user locale with `?_locale=user`. 2018-12-14 01:32:39 +00:00
class-wp-locale.php
class-wp-matchesmapregex.php Docs: Remove `@static` notations from method DocBlocks in `wp-includes/*` classes. 2018-02-25 20:22:30 +00:00
class-wp-meta-query.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-metadata-lazyloader.php Docs: Correct and improve various inline documentation. 2018-03-25 19:35:29 +00:00
class-wp-network-query.php PHP7.3 compatibility: Fix compact throwing notices. 2018-12-14 05:13:52 +00:00
class-wp-network.php Docs: Document more parameters and properties using typed array notation. 2018-03-25 19:33:31 +00:00
class-wp-oembed-controller.php Embeds: Filter HTML response in oEmbed proxy controller. 2018-12-14 03:20:37 +00:00
class-wp-post-type.php
class-wp-post.php Docs: Update and correct various inline documentation. 2018-05-07 17:20:22 +00:00
class-wp-query.php Docs: Correct and improve various inline documentation. 2018-08-27 14:28:26 +00:00
class-wp-rewrite.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-role.php Docs: Document more parameters and properties using typed array notation. 2018-03-25 19:33:31 +00:00
class-wp-roles.php Docs: Document `WP_Roles` properties with typed array notation. 2018-03-22 18:56:33 +00:00
class-wp-session-tokens.php Docs: Correct and improve docblocks for user session management functionality. 2018-09-14 13:45:26 +00:00
class-wp-simplepie-file.php
class-wp-simplepie-sanitize-kses.php
class-wp-site-query.php PHP7.3 compatibility: Fix compact throwing notices. 2018-12-14 05:13:52 +00:00
class-wp-site.php Docs: Remove `@static` notations from method DocBlocks in `wp-includes/*` classes. 2018-02-25 20:22:30 +00:00
class-wp-tax-query.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-taxonomy.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-term-query.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-term.php Docs: Remove `@static` notations from method DocBlocks in `wp-includes/*` classes. 2018-02-25 20:22:30 +00:00
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php Revisions: Improve performance of `WP_Text_Diff_Renderer_Table`. 2018-12-14 01:04:36 +00:00
class-wp-theme.php Bundled Themes: Make twentynineteen the default theme. 2018-12-14 02:49:38 +00:00
class-wp-user-meta-session-tokens.php Docs: Correct and improve docblocks for user session management functionality. 2018-09-14 13:45:26 +00:00
class-wp-user-query.php Users: Pass the current `WP_User_Query` instance to `found_users_query` filter. 2018-09-24 22:54:23 +00:00
class-wp-user.php Users: Add `LIMIT 1` to SQL query in `WP_User::get_data_by()`, as only one row is requested. 2018-09-23 15:33:24 +00:00
class-wp-walker.php
class-wp-widget-factory.php
class-wp-widget.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-xmlrpc-server.php PHP7.3 compatibility: Fix compact throwing notices. 2018-12-14 05:13:52 +00:00
class-wp.php Multisite: Validate activation links. 2018-12-13 01:26:24 +00:00
class.wp-dependencies.php Docs: Document that the `$src` parameter of `WP_Dependencies::add()` can be boolean. 2018-09-28 21:51:24 +00:00
class.wp-scripts.php I18N: Add JavaScript translation support. 2018-12-14 05:52:52 +00:00
class.wp-styles.php Script/Style Dependencies: Simplify some logic in `WP_Styles::do_item()`. 2018-08-11 17:42:24 +00:00
comment-template.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
comment.php PHP7.3 compatibility: Fix compact throwing notices. 2018-12-14 05:13:52 +00:00
compat.php General: In the `is_countable()` polyfill, if the provided object implements `SimpleXMLElement` or `ResourceBundle`, consider it countable. 2018-05-10 17:58:22 +00:00
cron.php Cron API: Clarify documentation for `wp_reschedule_event()`. 2018-09-03 04:04:25 +00:00
date.php Docs: Correct and improve various inline documentation. 2018-03-25 19:35:29 +00:00
default-constants.php Bundled Themes: Make twentynineteen the default theme. 2018-12-14 02:49:38 +00:00
default-filters.php Styles: Add helper functions for loading block styles. 2018-12-14 03:36:38 +00:00
default-widgets.php
deprecated.php Administration: Change all the occurrences of "(opens in a new window)" to "(opens in a new tab)". 2018-05-05 09:45:22 +00:00
embed-template.php
embed.php General: Fix some code formatting issues. 2018-12-14 03:25:40 +00:00
feed-atom-comments.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
feed-atom.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
feed-rdf.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
feed-rss.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
feed-rss2-comments.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
feed-rss2.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
feed.php
formatting.php Blocks: Parse blocks when displaying posts. 2018-12-13 22:22:38 +00:00
functions.php General: Introduce `wp_unique_id()`, a PHP implementation of Underscore's `uniqueId` method. 2018-09-24 20:57:23 +00:00
functions.wp-scripts.php I18N: Add JavaScript translation support. 2018-12-14 05:52:52 +00:00
functions.wp-styles.php Docs: Document that the `$src` parameter of `WP_Dependencies::add()` can be boolean. 2018-09-28 21:51:24 +00:00
general-template.php REST API: Render response in user locale with `?_locale=user`. 2018-12-14 01:32:39 +00:00
http.php HTTP: Don't treat `localhost` as same host by default. 2018-04-03 15:00:31 +00:00
kses.php KSES: Allow the `download` attribute on `<a>` tags. 2018-12-14 03:28:38 +00:00
l10n.php I18N: Add JavaScript translation support. 2018-12-14 05:52:52 +00:00
link-template.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
load.php Load: Disable PHP errors for JSON requests 2018-12-12 03:08:23 +00:00
locale.php
media-template.php PHPCS: Fix errors 2018-12-11 04:45:23 +00:00
media.php Media: Improve display and accessibility of meta data in detail view. 2018-09-08 04:20:24 +00:00
meta.php REST API: Move object type-specific metadata integrations from the wrapper functions to the low-level Meta API functions. 2018-12-12 03:02:24 +00:00
ms-blogs.php Multisite: Fix coding standard errors after [43654]. 2018-09-24 15:22:24 +00:00
ms-default-constants.php
ms-default-filters.php Multisite: Introduce a site initialization and uninitialization API. 2018-09-24 15:09:26 +00:00
ms-deprecated.php Multisite: Validate activation links. 2018-12-13 01:26:24 +00:00
ms-files.php
ms-functions.php Multisite: Introduce a site initialization and uninitialization API. 2018-09-24 15:09:26 +00:00
ms-load.php
ms-settings.php
nav-menu-template.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
nav-menu.php Nav Menus: Fix a PHP 7.3 error when switching themes. 2018-12-14 05:16:52 +00:00
option.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
pluggable-deprecated.php
pluggable.php i18n: Improve consistency of translator comments. 2018-10-02 19:51:24 +00:00
plugin.php
post-formats.php Post Formats: Don't assign a variable inside `if` statement in `get_post_format()`. 2018-08-30 09:01:25 +00:00
post-template.php Themes: Introduce responsive embeds support. 2018-12-14 01:50:37 +00:00
post-thumbnail-template.php Pinking shears. 2018-03-18 14:23:33 +00:00
post.php PHP7.3 compatibility: Fix compact throwing notices. 2018-12-14 05:13:52 +00:00
query.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
registration-functions.php
registration.php
rest-api.php Block Editor: Preload `wp/v2/media` with OPTIONS for caps check. 2018-12-14 06:02:52 +00:00
revision.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
rewrite.php
rss-functions.php
rss.php
script-loader.php Script Loader: Add translator comments and remove textdomains. 2018-12-14 05:58:52 +00:00
session.php
shortcodes.php Docs: Correct parameter name in `strip_shortcodes_tagnames` filter DocBlock. 2018-08-02 15:13:27 +00:00
spl-autoload-compat.php
taxonomy.php REST API: Move object type-specific metadata integrations from the wrapper functions to the low-level Meta API functions. 2018-12-12 03:02:24 +00:00
template-loader.php
template.php
theme.php Themes: Document the new theme features being added. 2018-12-14 03:41:37 +00:00
update.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
user.php Privacy: When clicking a confirmation link for a privacy request, return a `WP_Error` object if the link has expired. 2018-09-03 21:44:24 +00:00
vars.php
version.php Block Editor: Preload `wp/v2/media` with OPTIONS for caps check. 2018-12-14 06:02:52 +00:00
widgets.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
wlwmanifest.xml
wp-db.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
wp-diff.php