From 16dc354833a9b9ac311710c056d2718c05948df8 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Sun, 5 Jul 2020 10:38:18 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@48311 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/general-template.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 48ff235e64..ed0f001cee 100644 --- a/src/wp-includes/general-template.php +++ b/src/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' ),