From a5771dc74b319f84ff3798106a5700e0868c4111 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 7 Aug 2020 19:41:16 +0000 Subject: [PATCH] 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 --- src/wp-includes/theme.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index 5ae5856e37..93008dd567 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -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', + ), ), ), ),