Skip to content

Commit 9429d30

Browse files
committed
Editor: Bump @wordpress packages for 5.7.7.
Package updates for bug fixes: * @wordpress/block-directory: 1.18.16 * @wordpress/block-library: 2.28.13 * @wordpress/edit-post: 3.26.16 git-svn-id: https://develop.svn.wordpress.org/branches/5.7@54567 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 568680f commit 9429d30

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@
8484
"@wordpress/api-fetch": "3.21.6",
8585
"@wordpress/autop": "2.11.1",
8686
"@wordpress/blob": "2.12.1",
87-
"@wordpress/block-directory": "1.18.15",
87+
"@wordpress/block-directory": "1.18.16",
8888
"@wordpress/block-editor": "5.2.13",
89-
"@wordpress/block-library": "2.28.12",
89+
"@wordpress/block-library": "2.28.13",
9090
"@wordpress/block-serialization-default-parser": "3.9.1",
9191
"@wordpress/blocks": "7.0.7",
9292
"@wordpress/components": "12.0.9",
@@ -98,7 +98,7 @@
9898
"@wordpress/deprecated": "2.11.1",
9999
"@wordpress/dom": "2.16.3",
100100
"@wordpress/dom-ready": "2.12.1",
101-
"@wordpress/edit-post": "3.26.15",
101+
"@wordpress/edit-post": "3.26.16",
102102
"@wordpress/editor": "9.25.14",
103103
"@wordpress/element": "2.19.1",
104104
"@wordpress/escape-html": "1.11.1",

src/wp-includes/blocks/rss.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function render_block_core_rss( $attributes ) {
1616
$rss = fetch_feed( $attributes['feedURL'] );
1717

1818
if ( is_wp_error( $rss ) ) {
19-
return '<div class="components-placeholder"><div class="notice notice-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . $rss->get_error_message() . '</div></div>';
19+
return '<div class="components-placeholder"><div class="notice notice-error"><strong>' . __( 'RSS Error:' ) . '</strong> ' . esc_html( $rss->get_error_message() ) . '</div></div>';
2020
}
2121

2222
if ( ! $rss->get_item_quantity() ) {
@@ -44,8 +44,8 @@ function render_block_core_rss( $attributes ) {
4444
if ( $date ) {
4545
$date = sprintf(
4646
'<time datetime="%1$s" class="wp-block-rss__item-publish-date">%2$s</time> ',
47-
date_i18n( get_option( 'c' ), $date ),
48-
date_i18n( get_option( 'date_format' ), $date )
47+
esc_attr( date_i18n( get_option( 'c' ), $date ) ),
48+
esc_attr( date_i18n( get_option( 'date_format' ), $date ) )
4949
);
5050
}
5151
}

0 commit comments

Comments
 (0)