From 40a660461e01032a468426fcf18c39ca54162f1f Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Sun, 5 Jul 2020 10:40:02 +0000 Subject: [PATCH] Administration: Make all color schemes available when running from /src. To run WordPress from /src you have to use the `--dev` flag which also builds the color scheme stylesheets thus the restriction is no longer required. See #44492. Fixes #50558. Built from https://develop.svn.wordpress.org/trunk@48311 git-svn-id: http://core.svn.wordpress.org/trunk@48080 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 5 ----- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 48ff235e64..ed0f001cee 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -4384,11 +4384,6 @@ function register_admin_color_schemes() { ) ); - // Other color schemes are not available when running out of src. - if ( false !== strpos( get_bloginfo( 'version' ), '-src' ) ) { - return; - } - wp_admin_css_color( 'light', _x( 'Light', 'admin color scheme' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 92086551ab..69bb59c512 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48310'; +$wp_version = '5.5-alpha-48311'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.