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
This commit is contained in:
desrosj 2020-04-29 17:58:51 +00:00
parent bf5d4c15cc
commit c9886c5357
3 changed files with 4 additions and 5 deletions

View File

@ -80,7 +80,7 @@ function render_block_core_rss( $attributes ) {
}
$classes = 'grid' === $attributes['blockLayout'] ? ' is-grid columns-' . $attributes['columns'] : '';
$list_items_markup = sprintf( "<ul class='%s'>%s</ul>", esc_attr( 'wp-block-rss' . $classes ), $list_items );
$list_items_markup = "<ul class='wp-block-rss{$classes}'>{$list_items}</ul>";
// 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(

View File

@ -46,7 +46,7 @@ function render_block_core_search( $attributes ) {
return sprintf(
'<form class="%s" role="search" method="get" action="%s">%s</form>',
esc_attr( $class ),
$class,
esc_url( home_url( '/' ) ),
$label_markup . $input_markup . $button_markup
);

View File

@ -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.