diff --git a/wp-includes/class-wp-block.php b/wp-includes/class-wp-block.php index 80757baabce..9f58a5fe45d 100644 --- a/wp-includes/class-wp-block.php +++ b/wp-includes/class-wp-block.php @@ -376,7 +376,7 @@ private function replace_html( string $block_content, string $attribute_name, $s ) ) { return $block_content; } - $amended_content->set_attribute( $block_type->attributes[ $attribute_name ]['attribute'], esc_attr( $source_value ) ); + $amended_content->set_attribute( $block_type->attributes[ $attribute_name ]['attribute'], $source_value ); return $amended_content->get_updated_html(); break; diff --git a/wp-includes/version.php b/wp-includes/version.php index e9d9085807e..27bd66fe80d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57560'; +$wp_version = '6.5-alpha-57561'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.