mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 13:38:37 +00:00
Editor: Bump @wordpress packages for 5.6.10.
Package updates for bug fixes: * @wordpress/block-directory: 1.17.11 * @wordpress/block-library: 2.26.11 * @wordpress/edit-post: 3.25.11 Built from https://develop.svn.wordpress.org/branches/5.6@54573 git-svn-id: http://core.svn.wordpress.org/branches/5.6@54127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5d9e922dea
commit
7ef7189dea
File diff suppressed because one or more lines are too long
@ -16,7 +16,7 @@ function render_block_core_rss( $attributes ) {
|
||||
$rss = fetch_feed( $attributes['feedURL'] );
|
||||
|
||||
if ( is_wp_error( $rss ) ) {
|
||||
return '<div class="components-placeholder"><div class="notice notice-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</div></div>';
|
||||
return '<div class="components-placeholder"><div class="notice notice-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</div></div>';
|
||||
}
|
||||
|
||||
if ( ! $rss->get_item_quantity() ) {
|
||||
@ -44,8 +44,8 @@ function render_block_core_rss( $attributes ) {
|
||||
if ( $date ) {
|
||||
$date = sprintf(
|
||||
'<time datetime="%1$s" class="wp-block-rss__item-publish-date">%2$s</time> ',
|
||||
date_i18n( get_option( 'c' ), $date ),
|
||||
date_i18n( get_option( 'date_format' ), $date )
|
||||
esc_attr( date_i18n( get_option( 'c' ), $date ) ),
|
||||
esc_attr( date_i18n( get_option( 'date_format' ), $date ) )
|
||||
);
|
||||
}
|
||||
}
|
||||
|
1
wp-includes/js/dist/block-library.js
vendored
1
wp-includes/js/dist/block-library.js
vendored
@ -3584,7 +3584,6 @@ function (_super) {
|
||||
};
|
||||
|
||||
_this.onTouchStart = function (e) {
|
||||
e.preventDefault();
|
||||
document.addEventListener('touchmove', _this.onTouchMove, {
|
||||
passive: false
|
||||
}); // iOS 11 now defaults to passive: true
|
||||
|
2
wp-includes/js/dist/block-library.min.js
vendored
2
wp-includes/js/dist/block-library.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user