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
This commit is contained in:
Dominik Schilling 2020-07-05 10:38:18 +00:00
parent 34730d2ea0
commit 16dc354833

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( wp_admin_css_color(
'light', 'light',
_x( 'Light', 'admin color scheme' ), _x( 'Light', 'admin color scheme' ),