Block Editor: Update WordPress Packages.
Updated packages: @wordpress/annotations: 1.7.2 -> 1.9.0 @wordpress/api-fetch: 3.6.4 -> 3.8.0 @wordpress/block-directory: 1.0.5 -> 1.2.0 @wordpress/block-editor: 3.2.5 -> 3.4.0 @wordpress/block-library: 2.9.6 -> 2.11.0 @wordpress/blocks: 6.7.2 -> 6.9.0 @wordpress/components: 8.3.2 -> 8.5.0 @wordpress/compose: 3.7.2 -> 3.9.0 @wordpress/core-data: 2.7.5 -> 2.9.0 @wordpress/data: 4.9.2 -> 4.11.0 @wordpress/data-controls: 1.3.4 -> 1.5.0 @wordpress/date: 3.5.0 -> 3.7.0 @wordpress/dom: 2.5.2 -> 2.6.0 @wordpress/e2e-test-utils: 3.0.0 -> 4.0.0 @wordpress/edit-post: 3.8.6 -> 3.10.0 @wordpress/editor: 9.7.6 -> 9.9.0 @wordpress/element: 2.8.2 -> 2.10.0 @wordpress/escape-html: 1.5.1 -> 1.6.0 @wordpress/format-library: 1.9.5 -> 1.11.0 @wordpress/i18n: 3.6.1 -> 3.7.0 @wordpress/keycodes: 2.6.2 -> 2.7.0 @wordpress/list-reusable-blocks: 1.8.4 -> 1.10.0 @wordpress/media-utils: 1.2.4 -> 1.4.0 @wordpress/notices: 1.8.2 -> 1.10.0 @wordpress/nux: 3.7.2 -> 3.9.0 @wordpress/plugins: 2.7.2 -> 2.9.0 @wordpress/rich-text: 3.7.2 -> 3.9.0 @wordpress/scripts: 6.0.0 -> 6.1.1 @wordpress/server-side-render: 1.3.4 -> 1.5.0 @wordpress/shortcode: 2.4.1 -> 2.5.0 @wordpress/token-list: 1.6.1 -> 1.8.0 @wordpress/url: 2.8.2 -> 2.9.0 @wordpress/viewport: 2.8.2 -> 2.10.0 Props gziolo, youknowriad. Fixes #49142. git-svn-id: https://develop.svn.wordpress.org/trunk@47051 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7b0f5e5de8
commit
e02ebc183b
3523
package-lock.json
generated
3523
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
70
package.json
70
package.json
@ -27,9 +27,9 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@wordpress/custom-templated-path-webpack-plugin": "1.5.0",
|
"@wordpress/custom-templated-path-webpack-plugin": "1.5.0",
|
||||||
"@wordpress/dependency-extraction-webpack-plugin": "2.1.0",
|
"@wordpress/dependency-extraction-webpack-plugin": "2.1.0",
|
||||||
"@wordpress/e2e-test-utils": "3.0.0",
|
"@wordpress/e2e-test-utils": "4.0.0",
|
||||||
"@wordpress/library-export-default-webpack-plugin": "1.5.0",
|
"@wordpress/library-export-default-webpack-plugin": "1.5.0",
|
||||||
"@wordpress/scripts": "6.0.0",
|
"@wordpress/scripts": "6.1.1",
|
||||||
"autoprefixer": "9.6.2",
|
"autoprefixer": "9.6.2",
|
||||||
"check-node-version": "4.0.1",
|
"check-node-version": "4.0.1",
|
||||||
"copy-webpack-plugin": "^5.0.4",
|
"copy-webpack-plugin": "^5.0.4",
|
||||||
@ -73,58 +73,58 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/polyfill": "7.4.4",
|
"@babel/polyfill": "7.4.4",
|
||||||
"@wordpress/a11y": "2.5.1",
|
"@wordpress/a11y": "2.5.1",
|
||||||
"@wordpress/annotations": "1.7.2",
|
"@wordpress/annotations": "1.9.0",
|
||||||
"@wordpress/api-fetch": "3.6.4",
|
"@wordpress/api-fetch": "3.8.0",
|
||||||
"@wordpress/autop": "2.5.1",
|
"@wordpress/autop": "2.5.1",
|
||||||
"@wordpress/blob": "2.5.1",
|
"@wordpress/blob": "2.5.1",
|
||||||
"@wordpress/block-directory": "1.0.5",
|
"@wordpress/block-directory": "1.2.0",
|
||||||
"@wordpress/block-editor": "3.2.5",
|
"@wordpress/block-editor": "3.4.0",
|
||||||
"@wordpress/block-library": "2.9.6",
|
"@wordpress/block-library": "2.11.0",
|
||||||
"@wordpress/block-serialization-default-parser": "3.4.1",
|
"@wordpress/block-serialization-default-parser": "3.4.1",
|
||||||
"@wordpress/blocks": "6.7.2",
|
"@wordpress/blocks": "6.9.0",
|
||||||
"@wordpress/components": "8.3.2",
|
"@wordpress/components": "8.5.0",
|
||||||
"@wordpress/compose": "3.7.2",
|
"@wordpress/compose": "3.9.0",
|
||||||
"@wordpress/core-data": "2.7.5",
|
"@wordpress/core-data": "2.9.0",
|
||||||
"@wordpress/data-controls": "1.3.4",
|
"@wordpress/data": "4.11.0",
|
||||||
"@wordpress/data": "4.9.2",
|
"@wordpress/data-controls": "1.5.0",
|
||||||
"@wordpress/date": "3.5.0",
|
"@wordpress/date": "3.7.0",
|
||||||
"@wordpress/deprecated": "2.6.1",
|
"@wordpress/deprecated": "2.6.1",
|
||||||
|
"@wordpress/dom": "2.6.0",
|
||||||
"@wordpress/dom-ready": "2.5.1",
|
"@wordpress/dom-ready": "2.5.1",
|
||||||
"@wordpress/dom": "2.5.2",
|
"@wordpress/edit-post": "3.10.0",
|
||||||
"@wordpress/edit-post": "3.8.6",
|
"@wordpress/editor": "9.9.0",
|
||||||
"@wordpress/editor": "9.7.6",
|
"@wordpress/element": "2.10.0",
|
||||||
"@wordpress/element": "2.8.2",
|
"@wordpress/escape-html": "1.6.0",
|
||||||
"@wordpress/escape-html": "1.5.1",
|
"@wordpress/format-library": "1.11.0",
|
||||||
"@wordpress/format-library": "1.9.5",
|
|
||||||
"@wordpress/hooks": "2.6.0",
|
"@wordpress/hooks": "2.6.0",
|
||||||
"@wordpress/html-entities": "2.5.0",
|
"@wordpress/html-entities": "2.5.0",
|
||||||
"@wordpress/i18n": "3.6.1",
|
"@wordpress/i18n": "3.7.0",
|
||||||
"@wordpress/is-shallow-equal": "1.6.1",
|
"@wordpress/is-shallow-equal": "1.6.1",
|
||||||
"@wordpress/keycodes": "2.6.2",
|
"@wordpress/keycodes": "2.7.0",
|
||||||
"@wordpress/list-reusable-blocks": "1.8.4",
|
"@wordpress/list-reusable-blocks": "1.10.0",
|
||||||
"@wordpress/media-utils": "1.2.4",
|
"@wordpress/media-utils": "1.4.0",
|
||||||
"@wordpress/notices": "1.8.2",
|
"@wordpress/notices": "1.10.0",
|
||||||
"@wordpress/nux": "3.7.2",
|
"@wordpress/nux": "3.9.0",
|
||||||
"@wordpress/plugins": "2.7.2",
|
"@wordpress/plugins": "2.9.0",
|
||||||
"@wordpress/priority-queue": "1.3.1",
|
"@wordpress/priority-queue": "1.3.1",
|
||||||
"@wordpress/redux-routine": "3.6.2",
|
"@wordpress/redux-routine": "3.6.2",
|
||||||
"@wordpress/rich-text": "3.7.2",
|
"@wordpress/rich-text": "3.9.0",
|
||||||
"@wordpress/server-side-render": "1.3.4",
|
"@wordpress/server-side-render": "1.5.0",
|
||||||
"@wordpress/shortcode": "2.4.1",
|
"@wordpress/shortcode": "2.5.0",
|
||||||
"@wordpress/token-list": "1.6.1",
|
"@wordpress/token-list": "1.8.0",
|
||||||
"@wordpress/url": "2.8.2",
|
"@wordpress/url": "2.9.0",
|
||||||
"@wordpress/viewport": "2.8.2",
|
"@wordpress/viewport": "2.10.0",
|
||||||
"@wordpress/wordcount": "2.6.2",
|
"@wordpress/wordcount": "2.6.2",
|
||||||
"backbone": "1.4.0",
|
"backbone": "1.4.0",
|
||||||
"clipboard": "2.0.4",
|
"clipboard": "2.0.4",
|
||||||
"element-closest": "^2.0.2",
|
"element-closest": "^2.0.2",
|
||||||
"formdata-polyfill": "3.0.13",
|
"formdata-polyfill": "3.0.13",
|
||||||
|
"hoverintent": "2.2.1",
|
||||||
"imagesloaded": "3.2.0",
|
"imagesloaded": "3.2.0",
|
||||||
"jquery-color": "https://github.com/jquery/jquery-color/archive/2.1.2.tar.gz",
|
"jquery-color": "https://github.com/jquery/jquery-color/archive/2.1.2.tar.gz",
|
||||||
"jquery-form": "4.2.1",
|
"jquery-form": "4.2.1",
|
||||||
"jquery-ui": "https://github.com/jquery/jquery-ui/archive/1.11.4.tar.gz",
|
|
||||||
"jquery-hoverintent": "1.8.3",
|
"jquery-hoverintent": "1.8.3",
|
||||||
"hoverintent": "2.2.1",
|
"jquery-ui": "https://github.com/jquery/jquery-ui/archive/1.11.4.tar.gz",
|
||||||
"lodash": "4.17.15",
|
"lodash": "4.17.15",
|
||||||
"masonry-layout": "3.3.2",
|
"masonry-layout": "3.3.2",
|
||||||
"moment": "2.22.2",
|
"moment": "2.22.2",
|
||||||
|
@ -20,10 +20,6 @@ function render_block_core_rss( $attributes ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( ! $rss->get_item_quantity() ) {
|
if ( ! $rss->get_item_quantity() ) {
|
||||||
// PHP 5.2 compatibility. See: http://simplepie.org/wiki/faq/i_m_getting_memory_leaks.
|
|
||||||
$rss->__destruct();
|
|
||||||
unset( $rss );
|
|
||||||
|
|
||||||
return '<div class="components-placeholder"><div class="notice notice-error">' . __( 'An error has occurred, which probably means the feed is down. Try again later.' ) . '</div></div>';
|
return '<div class="components-placeholder"><div class="notice notice-error">' . __( 'An error has occurred, which probably means the feed is down. Try again later.' ) . '</div></div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -96,13 +92,7 @@ function render_block_core_rss( $attributes ) {
|
|||||||
$class .= ' ' . $attributes['className'];
|
$class .= ' ' . $attributes['className'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$list_items_markup = "<ul class='{$class}'>{$list_items}</ul>";
|
return "<ul class='{$class}'>{$list_items}</ul>";
|
||||||
|
|
||||||
// PHP 5.2 compatibility. See: http://simplepie.org/wiki/faq/i_m_getting_memory_leaks.
|
|
||||||
$rss->__destruct();
|
|
||||||
unset( $rss );
|
|
||||||
|
|
||||||
return $list_items_markup;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -25,6 +25,12 @@ function render_block_core_search( $attributes ) {
|
|||||||
$input_id,
|
$input_id,
|
||||||
$attributes['label']
|
$attributes['label']
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
$label_markup = sprintf(
|
||||||
|
'<label for="%s" class="wp-block-search__label screen-reader-text">%s</label>',
|
||||||
|
$input_id,
|
||||||
|
__( 'Search' )
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$input_markup = sprintf(
|
$input_markup = sprintf(
|
||||||
@ -45,7 +51,6 @@ function render_block_core_search( $attributes ) {
|
|||||||
if ( isset( $attributes['className'] ) ) {
|
if ( isset( $attributes['className'] ) ) {
|
||||||
$class .= ' ' . $attributes['className'];
|
$class .= ' ' . $attributes['className'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( isset( $attributes['align'] ) ) {
|
if ( isset( $attributes['align'] ) ) {
|
||||||
$class .= ' align' . $attributes['align'];
|
$class .= ' align' . $attributes['align'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user