Editor: update npm packages with bug fixes and blessed tasks.

Includes miscellaneous bug fixes and enhancements to the Library task (#58579).

Props andrewserong, ramonopoly.
Fixes #58745.


git-svn-id: https://develop.svn.wordpress.org/trunk@56205 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Isabel Brison
2023-07-11 06:56:31 +00:00
parent 9b08513ce9
commit efb0610df4
7 changed files with 305 additions and 302 deletions
+273 -273
View File
File diff suppressed because it is too large Load Diff
+22 -22
View File
@@ -80,64 +80,64 @@
"@emotion/is-prop-valid": "0.8.8",
"@emotion/memoize": "0.7.4",
"@wordpress/a11y": "3.35.1",
"@wordpress/annotations": "2.35.3",
"@wordpress/annotations": "2.35.4",
"@wordpress/api-fetch": "6.32.1",
"@wordpress/autop": "3.35.1",
"@wordpress/blob": "3.35.1",
"@wordpress/block-directory": "4.12.7",
"@wordpress/block-editor": "12.3.5",
"@wordpress/block-library": "8.12.7",
"@wordpress/block-directory": "4.12.8",
"@wordpress/block-editor": "12.3.6",
"@wordpress/block-library": "8.12.8",
"@wordpress/block-serialization-default-parser": "4.35.1",
"@wordpress/blocks": "12.12.3",
"@wordpress/commands": "0.6.5",
"@wordpress/components": "25.1.5",
"@wordpress/commands": "0.6.6",
"@wordpress/components": "25.1.6",
"@wordpress/compose": "6.12.1",
"@wordpress/core-commands": "0.4.5",
"@wordpress/core-data": "6.12.5",
"@wordpress/customize-widgets": "4.12.7",
"@wordpress/core-commands": "0.4.6",
"@wordpress/core-data": "6.12.6",
"@wordpress/customize-widgets": "4.12.8",
"@wordpress/data": "9.5.3",
"@wordpress/data-controls": "3.4.3",
"@wordpress/date": "4.35.1",
"@wordpress/deprecated": "3.35.1",
"@wordpress/dom": "3.35.1",
"@wordpress/dom-ready": "3.35.1",
"@wordpress/edit-post": "7.12.7",
"@wordpress/edit-site": "5.12.7",
"@wordpress/edit-widgets": "5.12.7",
"@wordpress/editor": "13.12.5",
"@wordpress/edit-post": "7.12.8",
"@wordpress/edit-site": "5.12.8",
"@wordpress/edit-widgets": "5.12.8",
"@wordpress/editor": "13.12.6",
"@wordpress/element": "5.12.1",
"@wordpress/escape-html": "2.35.1",
"@wordpress/format-library": "4.12.5",
"@wordpress/format-library": "4.12.6",
"@wordpress/hooks": "3.35.1",
"@wordpress/html-entities": "3.35.1",
"@wordpress/i18n": "4.35.1",
"@wordpress/icons": "9.26.2",
"@wordpress/interface": "5.12.5",
"@wordpress/interface": "5.12.6",
"@wordpress/is-shallow-equal": "4.35.1",
"@wordpress/keyboard-shortcuts": "4.12.3",
"@wordpress/keycodes": "3.35.1",
"@wordpress/list-reusable-blocks": "4.12.5",
"@wordpress/list-reusable-blocks": "4.12.6",
"@wordpress/media-utils": "4.26.1",
"@wordpress/notices": "4.3.3",
"@wordpress/nux": "6.0.0",
"@wordpress/plugins": "6.3.5",
"@wordpress/preferences": "3.12.5",
"@wordpress/plugins": "6.3.6",
"@wordpress/preferences": "3.12.6",
"@wordpress/preferences-persistence": "1.27.1",
"@wordpress/primitives": "3.33.1",
"@wordpress/priority-queue": "2.35.1",
"@wordpress/private-apis": "0.17.1",
"@wordpress/redux-routine": "4.35.1",
"@wordpress/reusable-blocks": "4.12.5",
"@wordpress/rich-text": "6.12.3",
"@wordpress/reusable-blocks": "4.12.6",
"@wordpress/rich-text": "6.12.4",
"@wordpress/router": "0.4.1",
"@wordpress/server-side-render": "4.12.5",
"@wordpress/server-side-render": "4.12.6",
"@wordpress/shortcode": "3.35.1",
"@wordpress/style-engine": "1.18.1",
"@wordpress/token-list": "2.35.1",
"@wordpress/url": "3.36.1",
"@wordpress/viewport": "5.12.3",
"@wordpress/warning": "2.35.1",
"@wordpress/widgets": "3.12.5",
"@wordpress/widgets": "3.12.6",
"@wordpress/wordcount": "3.35.1",
"backbone": "1.4.1",
"clipboard": "2.0.11",
File diff suppressed because one or more lines are too long
-1
View File
@@ -1713,7 +1713,6 @@
'supports' => array(
'html' => false,
'multiple' => false,
'inserter' => false,
'reusable' => false
),
'style' => 'wp-block-footnotes'
+5 -2
View File
@@ -35,8 +35,11 @@ function block_core_comment_template_render_comments( $comments, $block ) {
* We set commentId context through the `render_block_context` filter so
* that dynamically inserted blocks (at `render_block` filter stage)
* will also receive that context.
*
* Use an early priority to so that other 'render_block_context' filters
* have access to the values.
*/
add_filter( 'render_block_context', $filter_block_context );
add_filter( 'render_block_context', $filter_block_context, 1 );
/*
* We construct a new WP_Block instance from the parsed block so that
@@ -44,7 +47,7 @@ function block_core_comment_template_render_comments( $comments, $block ) {
*/
$block_content = ( new WP_Block( $block->parsed_block ) )->render( array( 'dynamic' => false ) );
remove_filter( 'render_block_context', $filter_block_context );
remove_filter( 'render_block_context', $filter_block_context, 1 );
$children = $comment->get_children();
@@ -11,7 +11,6 @@
"supports": {
"html": false,
"multiple": false,
"inserter": false,
"reusable": false
},
"style": "wp-block-footnotes"
+4 -2
View File
@@ -97,11 +97,13 @@ function render_block_core_post_template( $attributes, $content, $block ) {
$context['postId'] = $post_id;
return $context;
};
add_filter( 'render_block_context', $filter_block_context );
// Use an early priority to so that other 'render_block_context' filters have access to the values.
add_filter( 'render_block_context', $filter_block_context, 1 );
// Render the inner blocks of the Post Template block with `dynamic` set to `false` to prevent calling
// `render_callback` and ensure that no wrapper markup is included.
$block_content = ( new WP_Block( $block_instance ) )->render( array( 'dynamic' => false ) );
remove_filter( 'render_block_context', $filter_block_context );
remove_filter( 'render_block_context', $filter_block_context, 1 );
// Wrap the render inner blocks in a `li` element with the appropriate post classes.
$post_classes = implode( ' ', get_post_class( 'wp-block-post' ) );