mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-15 03:51:43 +01:00
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:
parent
9f92384fe7
commit
40a660461e
@ -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' ),
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user