diff --git a/wp-admin/customize.php b/wp-admin/customize.php
index 6f33708..f5afaaf 100644
|
a
|
b
|
add_action( 'customize_controls_print_scripts', 'print_head_scripts', 20 |
| 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 | * Customize controls initialization, fired before scripts are enqueued. |
| | 36 | * |
| | 37 | * @since 3.4 |
| | 38 | */ |
| 34 | 39 | do_action( 'customize_controls_init' ); |
| 35 | 40 | |
| 36 | 41 | wp_enqueue_script( 'customize-controls' ); |
| … |
… |
wp_enqueue_style( 'customize-controls' ); |
| 38 | 43 | |
| 39 | 44 | wp_enqueue_script( 'accordion' ); |
| 40 | 45 | |
| | 46 | /** |
| | 47 | * Fired when customizer scripts enqueuing occurs. |
| | 48 | * |
| | 49 | * @since 3.4 |
| | 50 | */ |
| 41 | 51 | do_action( 'customize_controls_enqueue_scripts' ); |
| 42 | 52 | |
| 43 | 53 | // Let's roll. |
| … |
… |
$body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', ' |
| 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 | * Fired when customizer styles are printed in the page. |
| | 81 | * |
| | 82 | * @since 3.4 |
| | 83 | */ |
| 69 | 84 | do_action( 'customize_controls_print_styles' ); |
| | 85 | |
| | 86 | /** |
| | 87 | * Fired when customizer scripts are printed in the page. |
| | 88 | * |
| | 89 | * @since 3.4 |
| | 90 | */ |
| 70 | 91 | do_action( 'customize_controls_print_scripts' ); |
| 71 | 92 | ?> |
| 72 | 93 | </head> |
| … |
… |
do_action( 'customize_controls_print_scripts' ); |
| 129 | 150 | <div id="customize-preview" class="wp-full-overlay-main"></div> |
| 130 | 151 | <?php |
| 131 | 152 | |
| | 153 | /** |
| | 154 | * Fired when customizer scripts are printed in the page's footer. |
| | 155 | * |
| | 156 | * @since 3.4 |
| | 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 |