Make WordPress Core


Ignore:
Timestamp:
05/30/2012 08:11:04 PM (12 years ago)
Author:
nacin
Message:

Move customize-controls CSS and JS to wp-admin. fixes #20785.

File:
1 edited

Legend:

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

    r20899 r20960  
    301301    $scripts->add( 'customize-loader',   "/wp-includes/js/customize-loader$suffix.js",   array( 'customize-base' ), false, 1 );
    302302    $scripts->add( 'customize-preview',  "/wp-includes/js/customize-preview$suffix.js",  array( 'customize-base' ), false, 1 );
    303     $scripts->add( 'customize-controls', "/wp-includes/js/customize-controls$suffix.js", array( 'customize-base' ), false, 1 );
     303    $scripts->add( 'customize-controls', "/wp-admin/js/customize-controls$suffix.js", array( 'customize-base' ), false, 1 );
    304304    $scripts->localize( 'customize-controls', '_wpCustomizeControlsL10n', array(
    305305        'activate'  => __( 'Save & Activate' ),
     
    487487    $styles->add( 'editor-buttons', "/wp-includes/css/editor$suffix.css" );
    488488    $styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css" );
    489     $styles->add( 'customize-controls', "/wp-includes/css/customize-controls$suffix.css", array( 'wp-admin', 'colors', 'ie' ) );
     489    $styles->add( 'customize-controls', "/wp-admin/css/customize-controls$suffix.css", array( 'wp-admin', 'colors', 'ie' ) );
    490490
    491491    foreach ( $rtl_styles as $rtl_style ) {
Note: See TracChangeset for help on using the changeset viewer.