WordPress/wp-includes
gziolo 758211c9b8 Editor: Remove loading remote patterns from editor pages
Stops loading remote patterns on the post editor and site editor pages. The only place to load remote patterns is going to be the `/wp/v2/block-patterns/patterns` REST endpoint handler.

Props jsnajdr.
See #55505.



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


git-svn-id: http://core.svn.wordpress.org/trunk@52684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-04-07 13:53:03 +00:00
..
assets Editor: Update block editor packages for WordPress 5.9.1. 2022-02-17 19:18:25 +00:00
block-patterns
block-supports Editor: Update layout handling for block supports 2022-04-06 11:41:05 +00:00
blocks Editor: Update block editor packages for WordPress 5.9.1. 2022-02-17 19:18:25 +00:00
certificates
css Editor: Update block editor packages for WordPress 5.9.1. 2022-02-17 19:18:25 +00:00
customize Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
fonts
ID3
images
IXR
js Adds "select all" shortcut for Mac on permalinks page when .htaccess is not writable. 2022-04-01 11:09:07 +00:00
php-compat Docs: Adjust some deprecated function DocBlocks per the [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#1-2-deprecated-functions documentation standards]. 2022-04-06 15:20:06 +00:00
PHPMailer External Libraries: Upgrade PHPMailer to version 6.6.0. 2022-02-28 21:38:09 +00:00
pomo Code Modernization: Use stream_get_contents() in POMO_FileReader::read_all(). 2022-02-09 12:33:05 +00:00
random_compat External Libraries: Update random_compat to version 2.0.21. 2022-02-16 21:19:04 +00:00
Requests HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +00:00
rest-api Editor: Make block type aware of the ancestor field 2022-04-06 09:47:09 +00:00
SimplePie External Libraries: Update the SimplePie library to version 1.5.7. 2021-12-20 19:33:00 +00:00
sitemaps Sitemaps: Pass term object to wp_sitemaps_taxonomies_entry filter. 2022-03-10 04:01:05 +00:00
sodium_compat Upgrade/Install: Update sodium_compat to v1.17.1. 2022-03-24 15:20:08 +00:00
Text Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
theme-compat Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
widgets Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
admin-bar.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
atomlib.php
author-template.php Coding Standards: Remove an extra variable in get_author_posts_url(). 2022-01-12 11:17:08 +00:00
block-editor.php Editor: Add localAutosaveInterval preference to editor settings 2022-04-07 11:16:06 +00:00
block-i18n.json
block-patterns.php Docs: Fix typos in some DocBlocks. 2022-01-18 20:29:06 +00:00
block-template-utils.php Site Editor: Rename the default attachment template from "Media" to "Attachment". 2022-03-11 23:30:07 +00:00
block-template.php Site Editor: Resolve homepage template on server-side 2022-04-07 13:35:02 +00:00
blocks.php Editor: Allow registration of blocks that include assets from within a theme 2022-04-07 11:59:05 +00:00
bookmark-template.php
bookmark.php
cache-compat.php Cache API: Add wp_cache_flush_runtime function 2022-02-18 12:06:03 +00:00
cache.php Cache API: Add wp_cache_flush_runtime function 2022-02-18 12:06:03 +00:00
canonical.php Canonical: Include all public status in 404 redirects. 2022-04-01 03:25:01 +00:00
capabilities.php
category-template.php Coding Standards: Rename the $cat_ID argument to $cat_id in get_the_category_by_ID(). 2022-03-20 14:57:07 +00:00
category.php
class-feed.php
class-http.php
class-IXR.php
class-json.php
class-oembed.php
class-phpass.php
class-phpmailer.php
class-pop3.php
class-requests.php HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +00:00
class-simplepie.php External Libraries: Update the SimplePie library to version 1.5.8. 2021-12-24 18:06:06 +00:00
class-smtp.php
class-snoopy.php
class-walker-category-dropdown.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-walker-category.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-walker-comment.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-walker-nav-menu.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-walker-page-dropdown.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-walker-page.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-admin-bar.php
class-wp-ajax-response.php
class-wp-application-passwords.php
class-wp-block-editor-context.php Add WP_Block_Editor_Context::$name 2022-03-17 03:37:05 +00:00
class-wp-block-list.php
class-wp-block-parser.php
class-wp-block-pattern-categories-registry.php
class-wp-block-patterns-registry.php Editor/Docs: Add blockTypes argument to WP_Block_Patterns_Registry::register() docblock. 2022-03-17 04:13:07 +00:00
class-wp-block-styles-registry.php
class-wp-block-supports.php
class-wp-block-template.php Editor: Explicitly declare $post_types and $area properties in WP_Block_Template class. 2021-12-21 00:28:00 +00:00
class-wp-block-type-registry.php
class-wp-block-type.php Editor: Make block type aware of the ancestor field 2022-04-06 09:47:09 +00:00
class-wp-block.php
class-wp-comment-query.php Coding Standards: Use multi-line strings for the $this->request property in wp-includes/class-wp-*-query.php. 2022-03-22 14:56:05 +00:00
class-wp-comment.php
class-wp-customize-control.php
class-wp-customize-manager.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
class-wp-customize-nav-menus.php Docs: Use third-person singular verbs for function descriptions in WP_Customize_Nav_Menus class, per the documentation standards. 2022-04-02 16:26:07 +00:00
class-wp-customize-panel.php Customizer: Remove Menus panel when a theme does not support menus 2022-01-24 05:34:04 +00:00
class-wp-customize-section.php Docs: Update some @var tags per the documentation standards. 2021-12-11 19:50:59 +00:00
class-wp-customize-setting.php
class-wp-customize-widgets.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
class-wp-date-query.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-dependency.php
class-wp-editor.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
class-wp-embed.php Docs: Use third-person singular verbs for function descriptions in WP_Embed class, per the documentation standards. 2022-04-01 08:32:03 +00:00
class-wp-error.php
class-wp-fatal-error-handler.php
class-wp-feed-cache-transient.php
class-wp-feed-cache.php
class-wp-hook.php
class-wp-http-cookie.php
class-wp-http-curl.php Coding Standards: Use strict comparison in wp-includes/class-wp-http-curl.php. 2022-03-20 16:24:03 +00:00
class-wp-http-encoding.php Docs: Fix typos in some DocBlocks. 2022-01-18 20:29:06 +00:00
class-wp-http-ixr-client.php
class-wp-http-proxy.php
class-wp-http-requests-hooks.php HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +00:00
class-wp-http-requests-response.php HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +00:00
class-wp-http-response.php
class-wp-http-streams.php Coding Standards: Rename the $strResponse variable to $response in WP_Http_Streams::request(). 2022-03-20 16:02:04 +00:00
class-wp-http.php Coding Standards: Rename the $strResponse variable to $response in WP_Http_Streams::request(). 2022-03-20 16:02:04 +00:00
class-wp-image-editor-gd.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
class-wp-image-editor-imagick.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
class-wp-image-editor.php Media: Typo correction in wp_image_maybe_exif_rotate docblock. 2022-01-13 19:14:05 +00:00
class-wp-list-util.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-locale-switcher.php
class-wp-locale.php I18N: Avoid translating wp_locale strings several times. 2022-03-18 21:18:03 +00:00
class-wp-matchesmapregex.php
class-wp-meta-query.php Query: Improve sanitization within WP_Meta_Query. 2022-01-06 17:05:02 +00:00
class-wp-metadata-lazyloader.php
class-wp-network-query.php Coding Standards: Use multi-line strings for the $this->request property in wp-includes/class-wp-*-query.php. 2022-03-22 14:56:05 +00:00
class-wp-network.php Networks and Sites: Remove duplicate cache entry. 2022-04-06 04:35:00 +00:00
class-wp-object-cache.php Docs: Improve @return tags for wp_cache_*_multiple() functions: 2022-02-11 19:21:01 +00:00
class-wp-oembed-controller.php
class-wp-oembed.php
class-wp-paused-extensions-storage.php
class-wp-post-type.php Posts, Post Types; Taxonomy: Translate default labels once. 2022-04-04 03:50:07 +00:00
class-wp-post.php Posts, Post Types: Set post filter in update_post_cache(). 2022-04-01 03:18:05 +00:00
class-wp-query.php Query: Cache comments feeds in WP_Query. 2022-04-05 01:55:03 +00:00
class-wp-recovery-mode-cookie-service.php
class-wp-recovery-mode-email-service.php Administration: Replace "Current theme" with "Active theme" in user facing strings. 2022-01-15 08:44:03 +00:00
class-wp-recovery-mode-key-service.php
class-wp-recovery-mode-link-service.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
class-wp-recovery-mode.php
class-wp-rewrite.php Docs: Increase the specificity of types in various inline documentation. 2022-01-30 19:25:03 +00:00
class-wp-role.php
class-wp-roles.php
class-wp-session-tokens.php
class-wp-simplepie-file.php
class-wp-simplepie-sanitize-kses.php Docs: Typo corrections in various API docblocks. 2022-02-04 16:28:00 +00:00
class-wp-site-query.php Coding Standards: Use multi-line strings for the $this->request property in wp-includes/class-wp-*-query.php. 2022-03-22 14:56:05 +00:00
class-wp-site.php
class-wp-tax-query.php Taxonomy: Improve performance by taxonomy queries by adding a limitting requested terms. 2022-03-31 10:06:01 +00:00
class-wp-taxonomy.php Posts, Post Types; Taxonomy: Translate default labels once. 2022-04-04 03:50:07 +00:00
class-wp-term-query.php Coding Standards: Use multi-line strings for the $this->request property in wp-includes/class-wp-*-query.php. 2022-03-22 14:56:05 +00:00
class-wp-term.php
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php Docs: Typo corrections in various API docblocks. 2022-02-04 16:28:00 +00:00
class-wp-theme-json-resolver.php Block Editor: Backport the Global Styles Variations endpoint. 2022-04-05 09:52:02 +00:00
class-wp-theme-json-schema.php
class-wp-theme-json.php Themes: Avoid undefined variable warning on get_svg_filters(). 2022-02-23 23:17:01 +00:00
class-wp-theme.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Coding Standards: Use multi-line strings for the $this->request property in wp-includes/class-wp-*-query.php. 2022-03-22 14:56:05 +00:00
class-wp-user-request.php
class-wp-user.php Docs: Use third-person singular verbs for function descriptions in wp-includes/class-wp-user.php. 2022-03-07 13:07:03 +00:00
class-wp-walker.php Docs: Add missing descriptions for some parameters of WP_Walker::paged_walk(). 2022-02-24 13:33:01 +00:00
class-wp-widget-factory.php
class-wp-widget.php
class-wp-xmlrpc-server.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
class-wp.php Docs: Add a @since note for WP::parse_request() about the new return value. 2022-03-02 15:40:01 +00:00
class.wp-dependencies.php Coding Standards: Replace else if with elseif after [52338]. 2021-12-07 17:49:01 +00:00
class.wp-scripts.php I18N, Script Loader: Don't register empty locale data objects. 2022-03-15 16:00:02 +00:00
class.wp-styles.php Docs: Replace "Current theme" with "Active theme" in various DocBlocks. 2022-01-20 23:53:05 +00:00
comment-template.php Comments: Guard against potential PHP notices in get_comment_author and get_comment_ID. 2022-03-03 20:33:59 +00:00
comment.php Comments: Improve performance of the wp_count_comments function. 2022-03-31 09:09:07 +00:00
compat.php Build/Test Tools: Update PHPCompatibilityWP to version 2.1.3. 2021-12-31 13:55:03 +00:00
cron.php
date.php
default-constants.php Formatting: Add support for formatting sizes as PB, EB, ZB, and YB. 2022-03-18 20:48:02 +00:00
default-filters.php Users: Introduce the concept of a large site to single site installations. 2022-03-29 12:42:13 +00:00
default-widgets.php
deprecated.php Docs: Adjust DocBlock formatting for wp_robots_*() and related functions. 2022-04-06 15:33:03 +00:00
embed-template.php
embed.php Docs: Further remove HTML markup from various function summaries. 2022-04-02 13:55:11 +00:00
error-protection.php
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss2-comments.php
feed-rss2.php
feed-rss.php
feed.php
formatting.php Docs: Further remove HTML markup from various function summaries. 2022-04-02 13:55:11 +00:00
functions.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
functions.wp-scripts.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
functions.wp-styles.php
general-template.php Docs: Adjust DocBlock formatting for wp_robots_*() and related functions. 2022-04-06 15:33:03 +00:00
global-styles-and-settings.php Editor: Backport Duotone fixes for 5.9.1. 2022-02-17 16:18:03 +00:00
http.php HTTP API: Fix typo in and improve readability of wp_parse_url() docblock. 2022-03-10 16:02:01 +00:00
https-detection.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
https-migration.php
kses.php KSES: Document HTML allow list is in lowercase. 2022-03-31 03:54:02 +00:00
l10n.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
link-template.php Docs: Correct variable references in get_category_feed_link() and get_term_feed_link() @return tags. 2022-03-20 15:05:05 +00:00
load.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
locale.php
media-template.php
media.php Media: Introduce wp_content_img_tag filter. 2022-03-29 23:58:18 +00:00
meta.php Cache: Use wp_cache_*_multiple() in core functions. 2022-02-11 18:51:59 +00:00
ms-blogs.php
ms-default-constants.php
ms-default-filters.php Users: Introduce the concept of a large site to single site installations. 2022-03-29 12:42:13 +00:00
ms-deprecated.php Docs: Adjust some deprecated function DocBlocks per the [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#1-2-deprecated-functions documentation standards]. 2022-04-06 15:20:06 +00:00
ms-files.php
ms-functions.php Users: Introduce the concept of a large site to single site installations. 2022-03-29 12:42:13 +00:00
ms-load.php Docs: Adjust some deprecated function DocBlocks per the [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#1-2-deprecated-functions documentation standards]. 2022-04-06 15:20:06 +00:00
ms-network.php Cache: Use wp_cache_*_multiple() in core functions. 2022-02-11 18:51:59 +00:00
ms-settings.php
ms-site.php Docs: Update the DocBlock for the wpmu_new_blog action to suggest wp_initialize_site as an alternative. 2022-03-03 16:13:03 +00:00
nav-menu-template.php Coding Standards: Rename $r variable to $args for clarity in walk_nav_menu_tree(). 2022-02-07 14:01:05 +00:00
nav-menu.php Menus: Convert wp_get_nav_menu_items function to use a taxonomy query. 2022-03-29 11:07:11 +00:00
option.php Cache: Use wp_cache_*_multiple() in core functions. 2022-02-11 18:51:59 +00:00
pluggable-deprecated.php
pluggable.php Code Modernization: Check the return type of wp_parse_url() in wp_mail(). 2022-02-25 13:48:00 +00:00
plugin.php Plugins: Convert apply_filters() into a proper variadic function. 2022-03-18 18:23:04 +00:00
post-formats.php
post-template.php Docs: Misc. fixes in wp-includes/post-template.php and wp-includes/post-thumbnail-template.php. 2022-03-15 15:22:05 +00:00
post-thumbnail-template.php Docs: Misc. fixes in wp-includes/post-template.php and wp-includes/post-thumbnail-template.php. 2022-03-15 15:22:05 +00:00
post.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
query.php
registration-functions.php
registration.php
rest-api.php HTTP API: Revert changeset [52244]. 2021-12-06 21:30:03 +00:00
revision.php Revisions: Improve _set_preview for case when autosave is missing. 2022-01-04 00:20:01 +00:00
rewrite.php Docs: Use third-person singular verbs for function descriptions in wp-includes/rewrite.php, per the documentation standards. 2022-03-25 21:34:01 +00:00
robots-template.php Docs: Adjust DocBlock formatting for wp_robots_*() and related functions. 2022-04-06 15:33:03 +00:00
rss-functions.php
rss.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
script-loader.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
session.php
shortcodes.php
sitemaps.php
spl-autoload-compat.php
taxonomy.php Posts, Post Types; Taxonomy: Translate default labels once. 2022-04-04 03:50:07 +00:00
template-canvas.php Docs: Correct the format of some comments per the documentation standards. 2021-12-10 20:30:05 +00:00
template-loader.php
template.php
theme-i18n.json Themes: Add "title" key to i18n schema 2022-03-31 10:53:04 +00:00
theme-templates.php Themes: Auto-enable block-templates support for all block themes. 2021-12-09 09:56:04 +00:00
theme.json Update @wordpress packages for Beta 4 2021-12-21 07:02:34 +00:00
theme.php Docs: Further remove HTML markup from various function summaries. 2022-04-02 13:55:11 +00:00
update.php Users: Introduce the concept of a large site to single site installations. 2022-03-29 12:42:13 +00:00
user.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
vars.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
version.php Editor: Remove loading remote patterns from editor pages 2022-04-07 13:53:03 +00:00
widgets.php Docs: Capitalize "ID", when referring to a widget ID or sidebar ID, in a more consistent way. 2021-12-13 10:21:07 +00:00
wlwmanifest.xml
wp-db.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
wp-diff.php