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. Built from https://develop.svn.wordpress.org/trunk@48757 git-svn-id: http://core.svn.wordpress.org/trunk@48519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
283f841dac
commit
7690f48cec
|
@ -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',
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.6-alpha-48754';
|
$wp_version = '5.6-alpha-48757';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue