Make WordPress Core

Ticket #25444: 25444.diff

File 25444.diff, 1.6 KB (added by DrewAPicture, 11 years ago)
  • src/wp-admin/customize.php

     
    3131add_action( 'customize_controls_print_footer_scripts', '_wp_footer_scripts'     );
    3232add_action( 'customize_controls_print_styles',         'print_admin_styles', 20 );
    3333
     34/**
     35 * Fires when Customizer controls are initialized, before scripts are enqueued.
     36 *
     37 * @since 3.4.0
     38 */
    3439do_action( 'customize_controls_init' );
    3540
    3641wp_enqueue_script( 'customize-controls' );
     
    3843
    3944wp_enqueue_script( 'accordion' );
    4045
     46/**
     47 * Fires when additional Customizer controls scripts are enqueued.
     48 *
     49 * @since 3.4.0
     50 */
    4151do_action( 'customize_controls_enqueue_scripts' );
    4252
    4353// Let's roll.
     
    6676$admin_title = sprintf( __( '%1$s — WordPress' ), strip_tags( sprintf( __( 'Customize %s' ), $wp_customize->theme()->display('Name') ) ) );
    6777?><title><?php echo $admin_title; ?></title><?php
    6878
     79/**
     80 * Fires when Customizer controls styles are printed.
     81 *
     82 * @since 3.4.0
     83 */
    6984do_action( 'customize_controls_print_styles' );
     85
     86/**
     87 * Fires when Customizer controls scripts are printed.
     88 *
     89 * @since 3.4.0
     90 */
    7091do_action( 'customize_controls_print_scripts' );
    7192?>
    7293</head>
     
    129150        <div id="customize-preview" class="wp-full-overlay-main"></div>
    130151        <?php
    131152
     153        /**
     154         * Fires when Customizer controls footer scripts are printed.
     155         *
     156         * @since 3.4.0
     157         */
    132158        do_action( 'customize_controls_print_footer_scripts' );
    133159
    134160        // If the frontend and the admin are served from the same domain, load the