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
This commit is contained in:
Dominik Schilling 2020-07-05 10:40:02 +00:00
parent 9f92384fe7
commit 40a660461e
2 changed files with 1 additions and 6 deletions

View File

@ -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' ),

View File

@ -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.