Skip to content

Commit 17287af

Browse files
committed
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
1 parent 8f85054 commit 17287af

24 files changed

Lines changed: 4578 additions & 5150 deletions

src/wp-admin/admin-header.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
wp_enqueue_style( 'colors' );
5454
wp_enqueue_style( 'ie' );
5555
wp_enqueue_script('utils');
56+
wp_enqueue_script( 'svg-painter' );
5657

5758
$admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix);
5859
?>
@@ -145,7 +146,13 @@
145146
if ( wp_is_mobile() )
146147
$admin_body_class .= ' mobile';
147148

148-
$admin_body_class .= ' no-customize-support';
149+
if ( is_multisite() )
150+
$admin_body_class .= ' multisite';
151+
152+
if ( is_network_admin() )
153+
$admin_body_class .= ' network-admin';
154+
155+
$admin_body_class .= ' no-customize-support no-svg';
149156

150157
?>
151158
</head>

0 commit comments

Comments
 (0)