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

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

Props TimothyBlynJacobs.
Fixes #37011.

git-svn-id: https://develop.svn.wordpress.org/trunk@48757 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-08-07 19:41:16 +00:00
parent 5868743f1f
commit a5771dc74b
1 changed files with 8 additions and 5 deletions

View File

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