Editor: Update block editor packages for WordPress 6.0.1.
This brings a new version of the Gutenberg code from the [https://github.com/WordPress/gutenberg/tree/wp/6.0 wp/6.0 branch] into core. Original PR from Gutenberg repository: * #GB42131 Post Comments Form: Fix warning i18n The following packages were updated: * `@wordpress/block-directory` to `3.4.13` * `@wordpress/block-library` to `7.3.13` * `@wordpress/customize-widgets` to `3.3.13` * `@wordpress/edit-post` to `6.3.13` * `@wordpress/edit-site` to `4.3.13` * `@wordpress/edit-widgets` to `4.3.13` Props zieladam, bernhard-reiter, tobifjellner. See #56058. Built from https://develop.svn.wordpress.org/trunk@53657 git-svn-id: http://core.svn.wordpress.org/trunk@53216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9635543e0f
commit
6d78a736ee
File diff suppressed because one or more lines are too long
|
@ -31502,9 +31502,7 @@ function PostCommentsFormEdit(_ref) {
|
|||
|
||||
if (!isSiteEditor && 'open' !== commentStatus) {
|
||||
if ('closed' === commentStatus) {
|
||||
warning = (0,external_wp_i18n_namespaceObject.sprintf)(
|
||||
/* translators: 1: Post type (i.e. "post", "page") */
|
||||
(0,external_wp_i18n_namespaceObject.__)('Post Comments Form block: Comments on this %s are not allowed.'), postType);
|
||||
warning = (0,external_wp_i18n_namespaceObject.__)('Post Comments Form block: Comments are not enabled for this item.');
|
||||
actions = [(0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
|
||||
key: "enableComments",
|
||||
onClick: () => setCommentStatus('open'),
|
||||
|
@ -31514,7 +31512,7 @@ function PostCommentsFormEdit(_ref) {
|
|||
} else if (!postTypeSupportsComments) {
|
||||
warning = (0,external_wp_i18n_namespaceObject.sprintf)(
|
||||
/* translators: 1: Post type (i.e. "post", "page") */
|
||||
(0,external_wp_i18n_namespaceObject.__)('Post Comments Form block: Comments for this post type (%s) are not enabled.'), postType);
|
||||
(0,external_wp_i18n_namespaceObject.__)('Post Comments Form block: Comments are not enabled for this post type (%s).'), postType);
|
||||
showPlaceholder = false;
|
||||
} else if ('open' !== defaultCommentStatus) {
|
||||
warning = (0,external_wp_i18n_namespaceObject.__)('Post Comments Form block: Comments are not enabled.');
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.1-alpha-53656';
|
||||
$wp_version = '6.1-alpha-53657';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue