WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/10/2013 12:26:50 AM (6 years ago)
Author:
helen
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/admin-header.php

    r25616 r26072  
    5454wp_enqueue_style( 'ie' );
    5555wp_enqueue_script('utils');
     56wp_enqueue_script( 'svg-painter' );
    5657
    5758$admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix);
     
    146147    $admin_body_class .= ' mobile';
    147148
    148 $admin_body_class .= ' no-customize-support';
     149if ( is_multisite() )
     150    $admin_body_class .= ' multisite';
     151
     152if ( is_network_admin() )
     153    $admin_body_class .= ' network-admin';
     154
     155$admin_body_class .= ' no-customize-support no-svg';
    149156
    150157?>
Note: See TracChangeset for help on using the changeset viewer.