From e7f689b9a8d11626e6836951f468d11dd17dffd6 Mon Sep 17 00:00:00 2001 From: whyisjake Date: Fri, 7 Aug 2020 21:22: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], [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 --- 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 5a8b22e09d..a412c6d721 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.