Wordpress/src/wp-includes
Greg Ziółkowski db00d908ce Blocks: Update default value for some fields in WP_Block_Type
Related to the issue with default values for the blocks registered on the server. By using null for some fields we can treat them as undefined on the client.

See: WordPress/gutenberg#22849.
Props aduth.
Fixes #48529. 



git-svn-id: https://develop.svn.wordpress.org/trunk@47907 602fd350-edb4-49c9-b593-d223f7449a82
2020-06-04 06:05:37 +00:00
..
ID3 General: Continuing to work towards a passing PHP Compatibility scan. 2020-06-03 17:38:56 +00:00
IXR
Requests
SimplePie External Libraries: Update the SimplePie library to the latest version (1.5.5). 2020-05-01 14:24:42 +00:00
Text
assets Block Editor: Update WordPress Packages WordPress 5.4 RC 5 Take 2. 2020-03-27 22:06:42 +00:00
blocks Block Editor: Coding standards, properly escape class names. 2020-04-29 15:32:19 +00:00
certificates
css Administration: Remove any CSS related to Internet Explorer versions 6 – 10. 2020-05-06 20:13:38 +00:00
customize Themes: Prevent installation of themes that require a higher version of PHP or WordPress. 2020-05-18 16:01:38 +00:00
fonts
images Customize: Move the WordPress logo with a white background to the `wp-includes` directory. 2020-05-21 09:08:52 +00:00
pomo General: Continuing to work towards a passing PHP Compatibility scan. 2020-06-03 17:38:56 +00:00
random_compat
rest-api Docs: Correct `@return` value for `WP_REST_Meta_Fields::get_value()`. 2020-05-27 09:42:38 +00:00
sodium_compat
theme-compat Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
widgets Coding Standards: Use strict comparison in `wp-includes/widgets/class-wp-widget-rss.php`. 2020-05-08 08:34:21 +00:00
admin-bar.php Docs: Add missing `@global` reference for the `$post_id` global in `wp_admin_bar_edit_menu()`. 2020-06-03 21:25:09 +00:00
atomlib.php
author-template.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
blocks.php Docs: Use more specific types in parameter descriptions in place of `mixed`. 2020-03-01 10:36:38 +00:00
bookmark-template.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
bookmark.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
cache.php Coding Standards: Move `WP_Object_Cache` to `wp-includes/class-wp-object-cache.php`. 2020-02-06 05:51:58 +00:00
canonical.php Docs: Correct `@param` type for `pre_redirect_guess_404_permalink` filter. 2020-06-02 16:21:49 +00:00
capabilities.php General: Continuing to work towards a passing PHP Compatibility scan. 2020-06-03 17:38:56 +00:00
category-template.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
category.php Docs: Improve documentation for functions in `wp-includes/category.php` per the documentation standards. 2020-05-29 10:05:36 +00:00
class-IXR.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00
class-feed.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00
class-http.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-json.php
class-oembed.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00
class-phpass.php
class-phpmailer.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00
class-pop3.php General: More PHP compatibility adjustments. 2020-05-01 20:10:58 +00:00
class-requests.php General: Continuing to work towards a passing PHP Compatibility scan. 2020-06-03 17:38:56 +00:00
class-simplepie.php General: Continuing to work towards a passing PHP Compatibility scan. 2020-06-03 17:38:56 +00:00
class-smtp.php
class-snoopy.php General: Fix various issues flagged by the PHPCompatibilityWP PHPCS ruleset. 2020-05-01 19:05:04 +00:00
class-walker-category-dropdown.php
class-walker-category.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-walker-comment.php Comments: Rename `Walker_Comment::comment_text()` to `::filter_comment_text()` for clarity. 2020-06-02 20:51:34 +00:00
class-walker-nav-menu.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-walker-page-dropdown.php
class-walker-page.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-admin-bar.php Administration: Remove any CSS related to Internet Explorer versions 6 – 10. 2020-05-06 20:13:38 +00:00
class-wp-ajax-response.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-block-parser.php
class-wp-block-styles-registry.php
class-wp-block-type-registry.php Docs: Misc docblock corrections and improvements. 2020-05-03 19:36:06 +00:00
class-wp-block-type.php Blocks: Update default value for some fields in WP_Block_Type 2020-06-04 06:05:37 +00:00
class-wp-comment-query.php Comments: Ensure that unmoderated comments won't be search indexed. 2020-06-02 20:10:02 +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:33:52 +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:07:31 +00:00
class-wp-customize-manager.php Coding Standards: Fix WPCS issues in `wp-includes/class-wp-customize-manager.php`. 2020-05-19 08:39:28 +00:00
class-wp-customize-nav-menus.php Role/Capability: Use meta caps `edit_post`, `read_post`, and `delete_post` directly. 2020-05-23 15:22:53 +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:34:49 +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:27:45 +00:00
class-wp-customize-setting.php Docs: Clarify the type of `theme_supports` argument in various Customizer classes. 2020-02-27 20:21:35 +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:00:44 +00:00
class-wp-date-query.php Coding Standards: Use strict comparison for more `count()` calls. 2020-05-23 16:20:10 +00:00
class-wp-dependency.php Docs: Use more specific type in description for `_WP_Dependency::$deps`. 2020-03-01 16:22:51 +00:00
class-wp-editor.php Docs: Remove unused `@global` declarations from `_WP_Editors::print_tinymce_scripts()`. 2020-05-27 19:46:34 +00:00
class-wp-embed.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-error.php
class-wp-fatal-error-handler.php Upgrade/Install: Rename `wp_in_maintenance_mode()` to `wp_is_maintenance_mode()`, for consistency with `wp_is_recovery_mode()`. 2020-05-30 15:11:02 +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:52:28 +00:00
class-wp-http-cookie.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-http-curl.php Coding Standards: Use strict type check for `in_array()` and `array_search()`. 2020-04-09 15:41:04 +00:00
class-wp-http-encoding.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-http-ixr-client.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:52:28 +00:00
class-wp-http-proxy.php Code Modernization: Remove error suppression from `parse_url()` calls. 2020-04-24 07:26:57 +00:00
class-wp-http-requests-hooks.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-http-requests-response.php
class-wp-http-response.php
class-wp-http-streams.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-image-editor-gd.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-image-editor-imagick.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:52:28 +00:00
class-wp-image-editor.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-list-util.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-locale-switcher.php
class-wp-locale.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-matchesmapregex.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-meta-query.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-metadata-lazyloader.php Text Changes: Add missing periods to some error messages, for consistency. 2020-02-01 20:30:20 +00:00
class-wp-network-query.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-network.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-object-cache.php Cache API: Ensure proper escaping around the stats method in the cache API. 2020-04-29 15:34:55 +00:00
class-wp-oembed-controller.php REST API: Validate that the oembed url parameter is a string. 2020-05-03 22:40:53 +00:00
class-wp-oembed.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-paused-extensions-storage.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-post-type.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-post.php
class-wp-query.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-recovery-mode-cookie-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-recovery-mode-email-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-recovery-mode-key-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-recovery-mode-link-service.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-recovery-mode.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-rewrite.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-role.php
class-wp-roles.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:52:28 +00:00
class-wp-session-tokens.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-simplepie-file.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-simplepie-sanitize-kses.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:52:28 +00:00
class-wp-site-query.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-site.php
class-wp-tax-query.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-taxonomy.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-term-query.php Docs: Document the `term_order` value for the `orderby` parameter of `WP_Term_Query::__construct()`. 2020-06-03 14:39:05 +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:00:44 +00:00
class-wp-theme.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp-user-request.php Docs: Add missing `@since` tags for `WP_User_Request` properties. 2020-03-23 20:18:15 +00:00
class-wp-user.php Coding Standards: Use strict comparison for `count()` calls. 2020-05-23 11:36:36 +00:00
class-wp-walker.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:52:28 +00:00
class-wp-widget-factory.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-widget.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
class-wp-xmlrpc-server.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
class-wp.php Comments: Ensure that unmoderated comments won't be search indexed. 2020-06-02 20:10:02 +00:00
class.wp-dependencies.php Script Loader: Add the `$group` parameter to `WP_Dependencies::do_item()`. 2020-05-06 16:25:09 +00:00
class.wp-scripts.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:52:28 +00:00
class.wp-styles.php Script Loader: Add the `$group` parameter to `WP_Dependencies::do_item()`. 2020-05-06 16:25:09 +00:00
comment-template.php Comments: Rename `Walker_Comment::comment_text()` to `::filter_comment_text()` for clarity. 2020-06-02 20:51:34 +00:00
comment.php Comments: Ensure that unmoderated comments won't be search indexed. 2020-06-02 20:10:02 +00:00
compat.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:00:44 +00:00
cron.php General: Continuing to work towards a passing PHP Compatibility scan. 2020-06-03 17:38:56 +00:00
date.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00
default-constants.php Docs: Fix typo in a comment with `WP_DEBUG_DISPLAY` description. 2020-02-02 05:32:35 +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:33:52 +00:00
default-widgets.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00
deprecated.php Bootstrap/Load: Deprecate `wp_unregister_GLOBALS()`. 2020-04-22 15:40:41 +00:00
embed-template.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00
embed.php Customize: Load the default site icon from the `wp-includes` directory. 2020-05-20 10:34:18 +00:00
error-protection.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
feed-atom-comments.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:52:28 +00:00
feed-atom.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
feed-rdf.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
feed-rss.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
feed-rss2-comments.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
feed-rss2.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
feed.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
formatting.php Coding Standards: Use strict comparison for `count()` calls. 2020-05-23 11:36:36 +00:00
functions.php General: Continuing to work towards a passing PHP Compatibility scan. 2020-06-03 17:38:56 +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:00:44 +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:40:29 +00:00
general-template.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
http.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
kses.php Docs: Miscellaneous DocBlock corrections. 2020-06-03 10:00:27 +00:00
l10n.php Coding Standards: Use strict type check for `in_array()` and `array_search()` where strings are involved. 2020-04-05 03:00:44 +00:00
link-template.php Docs: Miscellaneous DocBlock corrections. 2020-06-03 10:00:27 +00:00
load.php Upgrade/Install: Rename `wp_in_maintenance_mode()` to `wp_is_maintenance_mode()`, for consistency with `wp_is_recovery_mode()`. 2020-05-30 15:11:02 +00:00
locale.php
media-template.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
media.php Media: Ensure a consistent structure for the array returned by `wp_get_attachment_image_src()`. 2020-05-02 22:55:17 +00:00
meta.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
ms-blogs.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
ms-default-constants.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
ms-default-filters.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
ms-deprecated.php Docs: Miscellaneous DocBlock corrections. 2020-06-03 10:00:27 +00:00
ms-files.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:52:28 +00:00
ms-functions.php Docs: Miscellaneous DocBlock corrections. 2020-06-03 10:00:27 +00:00
ms-load.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
ms-network.php
ms-settings.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
ms-site.php Docs: Synchronize parameter documentation for various metadata functions, update per the documentation standards. 2020-04-22 10:29:34 +00:00
nav-menu-template.php Docs: Miscellaneous DocBlock corrections. 2020-06-03 10:00:27 +00:00
nav-menu.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
option.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
pluggable-deprecated.php
pluggable.php Coding Standards: Fix instances of `Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty`. 2020-05-26 09:35:34 +00:00
plugin.php General: Continuing to work towards a passing PHP Compatibility scan. 2020-06-03 17:38:56 +00:00
post-formats.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
post-template.php Coding Standards: Use strict comparison for `count()` calls. 2020-05-23 11:36:36 +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:06:31 +00:00
post.php Docs: Miscellaneous DocBlock corrections. 2020-06-03 10:00:27 +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:27:03 +00:00
registration-functions.php
registration.php
rest-api.php Rest API: Ensure `rest_ensure_response()` upgrades `WP_HTTP_Response` to `WP_REST_Response`. 2020-05-23 14:34:38 +00:00
revision.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
rewrite.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
rss-functions.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00
rss.php General: Continuing to work towards a passing PHP Compatibility scan. 2020-06-03 17:38:56 +00:00
script-loader.php I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/updates.js`. 2020-06-01 21:39:30 +00:00
session.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00
shortcodes.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
spl-autoload-compat.php
taxonomy.php Docs: Adjust the documentation for the new `ID` alias in `get_term_by()` for consistency with `get_user_by()`. 2020-05-30 10:06:49 +00:00
template-loader.php Coding Standards: Fix instances of `Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty`. 2020-05-26 09:35:34 +00:00
template.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
theme.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
update.php Coding Standards: Fix WPCS issues in `wp-includes/update.php`. 2020-05-09 12:50:43 +00:00
user.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
vars.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
version.php Comments: Use `comment` instead of an empty string for the `comment_type` DB field value in comments table. 2020-04-17 19:33:52 +00:00
widgets.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
wlwmanifest.xml
wp-db.php Docs: Further update inline documentation for the `wpdb` class per the documentation standards. 2020-05-03 11:43:14 +00:00
wp-diff.php Code Modernization: Replace `dirname( __FILE__ )` calls with `__DIR__` magic constant. 2020-02-06 06:31:22 +00:00