From 7690f48cec4b40770d6d4dcd388ef559492e0301 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 7 Aug 2020 19:43:05 +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. Built from https://develop.svn.wordpress.org/trunk@48757 git-svn-id: http://core.svn.wordpress.org/trunk@48519 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.php | 13 ++++++++----- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 5ae5856e37..93008dd567 100644 --- a/wp-includes/theme.php +++ b/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', + ), ), ), ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 6ccba7d5df..3c13c1fcc6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.