Themes: Add unlink-homepage-logo to the create_initial_theme_features() registration for the custom-logo theme feature.

Follow-up to [48039], [48283], [48749], [48757], [48758].

This brings the changes to the 5.5 branch.

Props TimothyBlynJacobs, SergeyBiryukov, whyisjake.
Fixes #37011.

Built from https://develop.svn.wordpress.org/branches/5.5@48759


git-svn-id: http://core.svn.wordpress.org/branches/5.5@48521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
whyisjake 2020-08-07 21:22:05 +00:00
parent 931826a203
commit e7f689b9a8
2 changed files with 9 additions and 6 deletions

View File

@ -3811,24 +3811,27 @@ function create_initial_theme_features() {
'show_in_rest' => array( 'show_in_rest' => array(
'schema' => array( 'schema' => array(
'properties' => array( 'properties' => array(
'width' => array( 'width' => array(
'type' => 'integer', 'type' => 'integer',
), ),
'height' => array( 'height' => array(
'type' => 'integer', 'type' => 'integer',
), ),
'flex-width' => array( 'flex-width' => array(
'type' => 'boolean', 'type' => 'boolean',
), ),
'flex-height' => array( 'flex-height' => array(
'type' => 'boolean', 'type' => 'boolean',
), ),
'header-text' => array( 'header-text' => array(
'type' => 'array', 'type' => 'array',
'items' => array( 'items' => array(
'type' => 'string', 'type' => 'string',
), ),
), ),
'unlink-homepage-logo' => array(
'type' => 'boolean',
),
), ),
), ),
), ),

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.5-RC2-48756'; $wp_version = '5.5-RC2-48759';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.