Skip to content

Commit f05c8e2

Browse files
committed
Editor: Bump @WordPress packages for 5.3.14.
Package updates for bug fixes: * @wordpress/block-library: 2.9.13 * @wordpress/edit-post: 3.8.13 git-svn-id: https://develop.svn.wordpress.org/branches/5.3@54598 602fd350-edb4-49c9-b593-d223f7449a82
1 parent cb637ad commit f05c8e2

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"@wordpress/autop": "2.5.1",
7878
"@wordpress/blob": "2.5.1",
7979
"@wordpress/block-editor": "3.2.7",
80-
"@wordpress/block-library": "2.9.12",
80+
"@wordpress/block-library": "2.9.13",
8181
"@wordpress/block-serialization-default-parser": "3.4.1",
8282
"@wordpress/blocks": "6.7.3",
8383
"@wordpress/components": "8.3.4",
@@ -89,7 +89,7 @@
8989
"@wordpress/deprecated": "2.6.1",
9090
"@wordpress/dom": "2.5.3",
9191
"@wordpress/dom-ready": "2.5.1",
92-
"@wordpress/edit-post": "3.8.12",
92+
"@wordpress/edit-post": "3.8.13",
9393
"@wordpress/editor": "9.7.9",
9494
"@wordpress/element": "2.8.2",
9595
"@wordpress/escape-html": "1.5.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() ) {
@@ -48,8 +48,8 @@ function render_block_core_rss( $attributes ) {
4848
if ( $date ) {
4949
$date = sprintf(
5050
'<time datetime="%1$s" class="wp-block-rss__item-publish-date">%2$s</time> ',
51-
date_i18n( get_option( 'c' ), $date ),
52-
date_i18n( get_option( 'date_format' ), $date )
51+
esc_attr( date_i18n( get_option( 'c' ), $date ) ),
52+
esc_attr( date_i18n( get_option( 'date_format' ), $date ) )
5353
);
5454
}
5555
}

0 commit comments

Comments
 (0)