mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 15:17:42 +02:00
Block Editor: Update packages with bug fixes to be included in WP 5.7 beta 3.
The updated packages are: @wordpress/block-directory: 1.18.6 -> 1.18.7 @wordpress/block-editor: 5.2.6 -> 5.2.7 @wordpress/block-library: 2.28.3 -> 2.28.4 @wordpress/edit-post: 3.26.6 -> 3.26.7 @wordpress/editor: 9.25.6 -> 9.25.7 @wordpress/format-library: 1.26.6 -> 1.26.7 @wordpress/reusable-blocks: 1.1.6 -> 1.1.7 Props isabel_brison. Fixes #52525. Built from https://develop.svn.wordpress.org/trunk@50343 git-svn-id: http://core.svn.wordpress.org/trunk@49954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f1d362a2f3
commit
e276187b9a
File diff suppressed because one or more lines are too long
10
wp-includes/js/dist/block-editor.js
vendored
10
wp-includes/js/dist/block-editor.js
vendored
@ -20635,6 +20635,10 @@ __experimentalInserterMenuExtension.Slot = inserter_menu_extension_Slot;
|
||||
/* harmony default export */ var inserter_menu_extension = (__experimentalInserterMenuExtension);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-insertion-point.js
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
@ -20643,6 +20647,7 @@ __experimentalInserterMenuExtension.Slot = inserter_menu_extension_Slot;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @typedef WPInserterConfig
|
||||
*
|
||||
@ -20730,9 +20735,8 @@ function useInsertionPoint(_ref) {
|
||||
}
|
||||
|
||||
if (!selectBlockOnInsert) {
|
||||
// translators: %d: the name of the block that has been added
|
||||
var message = Object(external_wp_i18n_["_n"])('%d block added.', '%d blocks added.', blocks.length);
|
||||
|
||||
var message = Object(external_wp_i18n_["sprintf"])( // translators: %d: the name of the block that has been added
|
||||
Object(external_wp_i18n_["_n"])('%d block added.', '%d blocks added.', Object(external_lodash_["castArray"])(blocks).length), Object(external_lodash_["castArray"])(blocks).length);
|
||||
Object(external_wp_a11y_["speak"])(message);
|
||||
}
|
||||
|
||||
|
2
wp-includes/js/dist/block-editor.min.js
vendored
2
wp-includes/js/dist/block-editor.min.js
vendored
File diff suppressed because one or more lines are too long
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.7-beta2-50342';
|
||||
$wp_version = '5.7-beta2-50343';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user