From c9886c53579b8e79a93fa35ae0d97323929f3abd Mon Sep 17 00:00:00 2001 From: desrosj Date: Wed, 29 Apr 2020 17:58:51 +0000 Subject: [PATCH] WordPress 5.2.6 Built from https://develop.svn.wordpress.org/branches/5.2@47668 git-svn-id: http://core.svn.wordpress.org/branches/5.2@47445 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/blocks/rss.php | 5 ++--- wp-includes/blocks/search.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/wp-includes/blocks/rss.php b/wp-includes/blocks/rss.php index 4d6bb428a4..b5fe3abaf5 100644 --- a/wp-includes/blocks/rss.php +++ b/wp-includes/blocks/rss.php @@ -80,7 +80,7 @@ function render_block_core_rss( $attributes ) { } $classes = 'grid' === $attributes['blockLayout'] ? ' is-grid columns-' . $attributes['columns'] : ''; - $list_items_markup = sprintf( "", esc_attr( 'wp-block-rss' . $classes ), $list_items ); + $list_items_markup = ""; // PHP 5.2 compatibility. See: http://simplepie.org/wiki/faq/i_m_getting_memory_leaks. $rss->__destruct(); @@ -93,8 +93,7 @@ function render_block_core_rss( $attributes ) { * Registers the `core/rss` block on server. */ function register_block_core_rss() { - register_block_type( - 'core/rss', + register_block_type( 'core/rss', array( 'attributes' => array( 'columns' => array( diff --git a/wp-includes/blocks/search.php b/wp-includes/blocks/search.php index f9bbe3eba5..ac7da463e9 100644 --- a/wp-includes/blocks/search.php +++ b/wp-includes/blocks/search.php @@ -46,7 +46,7 @@ function render_block_core_search( $attributes ) { return sprintf( '', - esc_attr( $class ), + $class, esc_url( home_url( '/' ) ), $label_markup . $input_markup . $button_markup ); diff --git a/wp-includes/version.php b/wp-includes/version.php index a1963f0a24..5f818103b9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2.5'; +$wp_version = '5.2.6'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.