diff --git a/wp-content/themes/twentytwentyone/inc/template-functions.php b/wp-content/themes/twentytwentyone/inc/template-functions.php index 4e5fcd6abe..ec4efea558 100644 --- a/wp-content/themes/twentytwentyone/inc/template-functions.php +++ b/wp-content/themes/twentytwentyone/inc/template-functions.php @@ -417,10 +417,6 @@ add_filter( 'the_password_form', 'twenty_twenty_one_password_form' ); */ function twenty_twenty_one_get_attachment_image_attributes( $attr, $attachment, $size ) { - if ( is_admin() ) { - return $attr; - } - if ( isset( $attr['class'] ) && false !== strpos( $attr['class'], 'custom-logo' ) ) { return $attr; } diff --git a/wp-includes/blocks/embed/block.json b/wp-includes/blocks/embed/block.json index 3f6531af57..04de8cb589 100644 --- a/wp-includes/blocks/embed/block.json +++ b/wp-includes/blocks/embed/block.json @@ -34,5 +34,7 @@ "align": true, "reusable": false, "html": false - } + }, + "editorStyle": "wp-block-embed-editor", + "style": "wp-block-embed" } diff --git a/wp-includes/version.php b/wp-includes/version.php index bf0f4118c5..f256b6096c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6.1-alpha-50061'; +$wp_version = '5.6.1-alpha-50062'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.