WordPress.org

Make WordPress Core

Changeset 22327


Ignore:
Timestamp:
10/30/2012 04:28:13 PM (8 years ago)
Author:
azaozz
Message:

Buttons: make install.css depend on buttons.css (so button styles are always loaded), see #21598

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/install.php

    r22314 r22327  
    6161    <?php
    6262    wp_admin_css( 'install', true );
    63     wp_admin_css( 'buttons', true );
    6463    ?>
    6564</head>
  • trunk/wp-admin/maint/repair.php

    r22314 r22327  
    1919    <?php
    2020    wp_admin_css( 'install', true );
    21     wp_admin_css( 'buttons', true );
    2221    ?>
    2322</head>
  • trunk/wp-includes/script-loader.php

    r22321 r22327  
    531531
    532532    $styles->add( 'media', "/wp-admin/css/media$suffix.css" );
    533     $styles->add( 'install', "/wp-admin/css/install$suffix.css" );
     533    $styles->add( 'install', "/wp-admin/css/install$suffix.css", array('buttons') );
    534534    $styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css' );
    535535    $styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u1' );
Note: See TracChangeset for help on using the changeset viewer.