Ticket #25444: 25444.diff
File 25444.diff, 1.6 KB (added by , 11 years ago) |
---|
-
src/wp-admin/customize.php
31 31 add_action( 'customize_controls_print_footer_scripts', '_wp_footer_scripts' ); 32 32 add_action( 'customize_controls_print_styles', 'print_admin_styles', 20 ); 33 33 34 /** 35 * Fires when Customizer controls are initialized, before scripts are enqueued. 36 * 37 * @since 3.4.0 38 */ 34 39 do_action( 'customize_controls_init' ); 35 40 36 41 wp_enqueue_script( 'customize-controls' ); … … 38 43 39 44 wp_enqueue_script( 'accordion' ); 40 45 46 /** 47 * Fires when additional Customizer controls scripts are enqueued. 48 * 49 * @since 3.4.0 50 */ 41 51 do_action( 'customize_controls_enqueue_scripts' ); 42 52 43 53 // Let's roll. … … 66 76 $admin_title = sprintf( __( '%1$s — WordPress' ), strip_tags( sprintf( __( 'Customize %s' ), $wp_customize->theme()->display('Name') ) ) ); 67 77 ?><title><?php echo $admin_title; ?></title><?php 68 78 79 /** 80 * Fires when Customizer controls styles are printed. 81 * 82 * @since 3.4.0 83 */ 69 84 do_action( 'customize_controls_print_styles' ); 85 86 /** 87 * Fires when Customizer controls scripts are printed. 88 * 89 * @since 3.4.0 90 */ 70 91 do_action( 'customize_controls_print_scripts' ); 71 92 ?> 72 93 </head> … … 129 150 <div id="customize-preview" class="wp-full-overlay-main"></div> 130 151 <?php 131 152 153 /** 154 * Fires when Customizer controls footer scripts are printed. 155 * 156 * @since 3.4.0 157 */ 132 158 do_action( 'customize_controls_print_footer_scripts' ); 133 159 134 160 // If the frontend and the admin are served from the same domain, load the