diff --git a/wp-includes/blocks/cover.php b/wp-includes/blocks/cover.php new file mode 100644 index 0000000000..d2f1959bdb --- /dev/null +++ b/wp-includes/blocks/cover.php @@ -0,0 +1,85 @@ +'; + + $image = sprintf( + $image_template, + esc_attr( get_the_post_thumbnail_caption() ), + esc_url( $current_featured_image ), + esc_attr( $object_position ), + esc_attr( $object_position ) + ); + + $content = str_replace( + '' . $image . ' 'render_block_core_cover', + ) + ); +} +add_action( 'init', 'register_block_core_cover' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 86a514dd88..efc0712881 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-beta1-53212'; +$wp_version = '6.0-beta1-53213'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.