Twenty Twenty-One: Revert [50043] from the 5.6 branch.

Since a new version of Twenty Twenty-One will not be published in coordination with 5.6.1, this will prevent slight differences between the version of the theme that ships with 5.6.1 and the one users received when updating the theme to version `1.1`.

See #52212.
Built from https://develop.svn.wordpress.org/branches/5.6@50062


git-svn-id: http://core.svn.wordpress.org/branches/5.6@49763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2021-01-28 18:57:00 +00:00
parent 34b9667a38
commit e0864925ac
3 changed files with 4 additions and 6 deletions

View File

@ -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;
}

View File

@ -34,5 +34,7 @@
"align": true,
"reusable": false,
"html": false
}
},
"editorStyle": "wp-block-embed-editor",
"style": "wp-block-embed"
}

View File

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