mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 19:24:34 +00:00
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more. see #25858. props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen. git-svn-id: https://develop.svn.wordpress.org/trunk@26072 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -53,6 +53,7 @@ _wp_admin_html_begin();
|
||||
wp_enqueue_style( 'colors' );
|
||||
wp_enqueue_style( 'ie' );
|
||||
wp_enqueue_script('utils');
|
||||
wp_enqueue_script( 'svg-painter' );
|
||||
|
||||
$admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix);
|
||||
?>
|
||||
@@ -145,7 +146,13 @@ $admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace(
|
||||
if ( wp_is_mobile() )
|
||||
$admin_body_class .= ' mobile';
|
||||
|
||||
$admin_body_class .= ' no-customize-support';
|
||||
if ( is_multisite() )
|
||||
$admin_body_class .= ' multisite';
|
||||
|
||||
if ( is_network_admin() )
|
||||
$admin_body_class .= ' network-admin';
|
||||
|
||||
$admin_body_class .= ' no-customize-support no-svg';
|
||||
|
||||
?>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user