Make WordPress Core

Changeset 36551


Ignore:
Timestamp:
02/17/2016 06:00:40 PM (9 years ago)
Author:
azaozz
Message:

Styles:

  • Restore loading order for wp-admin: open-sans, dashicons, etc.
  • Remove couple of redundant dependencies.

See #35229.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r36546 r36551  
    715715
    716716    // Register a stylesheet for the selected admin color scheme.
    717     $styles->add( 'colors', true, array( 'wp-admin', 'buttons', 'open-sans', 'dashicons' ) );
     717    $styles->add( 'colors', true, array( 'wp-admin', 'buttons' ) );
    718718
    719719    $suffix = SCRIPT_DEBUG ? '' : '.min';
     
    735735    $styles->add( 'l10n',                "/wp-admin/css/l10n$suffix.css" );
    736736
    737     $styles->add( 'wp-admin', false, array( 'common', 'forms', 'admin-menu', 'dashboard', 'list-tables', 'edit', 'revisions', 'media', 'themes', 'about', 'nav-menus', 'widgets', 'site-icon', 'l10n', 'open-sans', 'dashicons' ) );
    738 
    739     $styles->add( 'login',               "/wp-admin/css/login$suffix.css", array( 'buttons', 'forms', 'l10n', 'open-sans', 'dashicons' ) );
    740     $styles->add( 'install',             "/wp-admin/css/install$suffix.css", array( 'buttons', 'open-sans' ) );
     737    $styles->add( 'wp-admin', false, array( 'open-sans', 'dashicons', 'common', 'forms', 'admin-menu', 'dashboard', 'list-tables', 'edit', 'revisions', 'media', 'themes', 'about', 'nav-menus', 'widgets', 'site-icon', 'l10n' ) );
     738
     739    $styles->add( 'login',               "/wp-admin/css/login$suffix.css", array( 'open-sans', 'dashicons', 'buttons', 'forms', 'l10n' ) );
     740    $styles->add( 'install',             "/wp-admin/css/install$suffix.css", array( 'open-sans', 'buttons' ) );
    741741    $styles->add( 'wp-color-picker',     "/wp-admin/css/color-picker$suffix.css" );
    742742    $styles->add( 'customize-controls',  "/wp-admin/css/customize-controls$suffix.css", array( 'wp-admin', 'colors', 'ie', 'imgareaselect' ) );
Note: See TracChangeset for help on using the changeset viewer.