Block Editor: Update WordPress Packages WordPress 5.4 RC 4.
The following package versions were changed: @wordpress/annotations: 1.12.1 -> 1.12.2 @wordpress/block-directory: 1.5.5 -> 1.5.6 @wordpress/block-editor: 3.7.5 -> 3.7.6 @wordpress/block-library: 2.14.5 -> 2.14.6 @wordpress/blocks: 6.12.1 -> 6.12.2 @wordpress/components: 9.2.4 -> 9.2.5 @wordpress/core-data: 2.12.1 -> 2.12.2 @wordpress/data: 4.14.1 -> 4.14.2 @wordpress/data-controls: 1.8.1 -> 1.8.2 @wordpress/edit-post: 3.13.6 -> 3.13.7 @wordpress/editor: 9.12.5 -> 9.12.6 @wordpress/format-library: 1.14.5 -> 1.14.6 @wordpress/keyboard-shortcuts: 1.1.1 -> 1.1.2 @wordpress/list-reusable-blocks: 1.13.4 -> 1.13.5 @wordpress/notices: 2.0.1 -> 2.0.2 @wordpress/nux: 3.12.4 -> 3.12.5 @wordpress/rich-text: 3.12.1 -> 3.12.2 @wordpress/server-side-render: 1.8.4 -> 1.8.5 @wordpress/viewport: 2.13.1 -> 2.13.2 Description of editor changes included in the RC available at https://github.com/WordPress/gutenberg/pull/21083. Props itsjonq, mcsf, aduth. Fixes: #49688. git-svn-id: https://develop.svn.wordpress.org/trunk@47495 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ad8d01a7e9
commit
def0da1bbe
939
package-lock.json
generated
939
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
38
package.json
38
package.json
@ -73,50 +73,50 @@
|
||||
"dependencies": {
|
||||
"@babel/polyfill": "7.4.4",
|
||||
"@wordpress/a11y": "2.7.0",
|
||||
"@wordpress/annotations": "1.12.1",
|
||||
"@wordpress/annotations": "1.12.2",
|
||||
"@wordpress/api-fetch": "3.11.0",
|
||||
"@wordpress/autop": "2.6.0",
|
||||
"@wordpress/blob": "2.7.0",
|
||||
"@wordpress/block-directory": "1.5.5",
|
||||
"@wordpress/block-editor": "3.7.5",
|
||||
"@wordpress/block-library": "2.14.5",
|
||||
"@wordpress/block-directory": "1.5.6",
|
||||
"@wordpress/block-editor": "3.7.6",
|
||||
"@wordpress/block-library": "2.14.6",
|
||||
"@wordpress/block-serialization-default-parser": "3.5.0",
|
||||
"@wordpress/blocks": "6.12.1",
|
||||
"@wordpress/components": "9.2.4",
|
||||
"@wordpress/blocks": "6.12.2",
|
||||
"@wordpress/components": "9.2.5",
|
||||
"@wordpress/compose": "3.11.0",
|
||||
"@wordpress/core-data": "2.12.1",
|
||||
"@wordpress/data": "4.14.1",
|
||||
"@wordpress/data-controls": "1.8.1",
|
||||
"@wordpress/core-data": "2.12.2",
|
||||
"@wordpress/data": "4.14.2",
|
||||
"@wordpress/data-controls": "1.8.2",
|
||||
"@wordpress/date": "3.8.0",
|
||||
"@wordpress/deprecated": "2.7.0",
|
||||
"@wordpress/dom": "2.8.0",
|
||||
"@wordpress/dom-ready": "2.7.0",
|
||||
"@wordpress/edit-post": "3.13.6",
|
||||
"@wordpress/editor": "9.12.5",
|
||||
"@wordpress/edit-post": "3.13.7",
|
||||
"@wordpress/editor": "9.12.6",
|
||||
"@wordpress/element": "2.11.0",
|
||||
"@wordpress/escape-html": "1.7.0",
|
||||
"@wordpress/format-library": "1.14.5",
|
||||
"@wordpress/format-library": "1.14.6",
|
||||
"@wordpress/hooks": "2.7.0",
|
||||
"@wordpress/html-entities": "2.6.0",
|
||||
"@wordpress/i18n": "3.9.0",
|
||||
"@wordpress/icons": "1.1.0",
|
||||
"@wordpress/is-shallow-equal": "1.8.0",
|
||||
"@wordpress/keyboard-shortcuts": "1.1.1",
|
||||
"@wordpress/keyboard-shortcuts": "1.1.2",
|
||||
"@wordpress/keycodes": "2.9.0",
|
||||
"@wordpress/list-reusable-blocks": "1.13.4",
|
||||
"@wordpress/list-reusable-blocks": "1.13.5",
|
||||
"@wordpress/media-utils": "1.7.2",
|
||||
"@wordpress/notices": "2.0.1",
|
||||
"@wordpress/nux": "3.12.4",
|
||||
"@wordpress/notices": "2.0.2",
|
||||
"@wordpress/nux": "3.12.5",
|
||||
"@wordpress/plugins": "2.12.0",
|
||||
"@wordpress/primitives": "1.1.0",
|
||||
"@wordpress/priority-queue": "1.5.1",
|
||||
"@wordpress/redux-routine": "3.7.0",
|
||||
"@wordpress/rich-text": "3.12.1",
|
||||
"@wordpress/server-side-render": "1.8.4",
|
||||
"@wordpress/rich-text": "3.12.2",
|
||||
"@wordpress/server-side-render": "1.8.5",
|
||||
"@wordpress/shortcode": "2.6.0",
|
||||
"@wordpress/token-list": "1.9.0",
|
||||
"@wordpress/url": "2.11.0",
|
||||
"@wordpress/viewport": "2.13.1",
|
||||
"@wordpress/viewport": "2.13.2",
|
||||
"@wordpress/warning": "1.0.0",
|
||||
"@wordpress/wordcount": "2.7.0",
|
||||
"backbone": "1.4.0",
|
||||
|
File diff suppressed because one or more lines are too long
@ -19,6 +19,7 @@ function render_block_core_social_link( $attributes ) {
|
||||
$attributes['label'] :
|
||||
/* translators: %s: Social Link service name */
|
||||
sprintf( __( 'Link to %s' ), block_core_social_link_get_name( $service ) );
|
||||
$class_name = isset( $attributes['className'] ) ? ' ' . $attributes['className'] : false;
|
||||
|
||||
// Don't render a link if there is no URL set.
|
||||
if ( ! $url ) {
|
||||
@ -26,7 +27,7 @@ function render_block_core_social_link( $attributes ) {
|
||||
}
|
||||
|
||||
$icon = block_core_social_link_get_icon( $service );
|
||||
return '<li class="wp-social-link wp-social-link-' . esc_attr( $service ) . '"><a href="' . esc_url( $url ) . '" aria-label="' . esc_attr( $label ) . '"> ' . $icon . '</a></li>';
|
||||
return '<li class="wp-social-link wp-social-link-' . esc_attr( $service ) . esc_attr( $class_name ) . '"><a href="' . esc_url( $url ) . '" aria-label="' . esc_attr( $label ) . '"> ' . $icon . '</a></li>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user