Make WordPress Core


Ignore:
Timestamp:
03/18/2014 03:30:12 PM (8 years ago)
Author:
ocean90
Message:

Widget Customizer: Move preview script to wp_default_scripts().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-widgets.php

    r27584 r27585  
    751751     */
    752752    static function customize_preview_enqueue_deps() {
    753         wp_enqueue_script(
    754             'customize-preview-widgets',
    755             includes_url( 'js/customize-preview-widgets.js' ),
    756             array( 'jquery', 'wp-util', 'customize-preview' )
    757         );
     753        wp_enqueue_script( 'customize-preview-widgets' );
    758754
    759755        add_action( 'wp_print_styles', array( __CLASS__, 'inject_preview_css' ), 1 );
Note: See TracChangeset for help on using the changeset viewer.