Changeset 27968
- Timestamp:
- 04/06/2014 06:53:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-widgets.php
r27910 r27968 69 69 * @param WP_Customize_Manager $manager Customize manager bootstrap instance. 70 70 */ 71 public function __construct( WP_Customize_Manager$manager ) {71 public function __construct( $manager ) { 72 72 $this->manager = $manager; 73 73 … … 881 881 add_filter( 'sidebars_widgets', array( $this, 'preview_sidebars_widgets' ), 1 ); 882 882 add_action( 'wp_enqueue_scripts', array( $this, 'customize_preview_enqueue' ) ); 883 add_action( 'wp_print_styles', array( $this, ' inject_preview_css' ), 1 );883 add_action( 'wp_print_styles', array( $this, 'print_preview_css' ), 1 ); 884 884 add_action( 'wp_footer', array( $this, 'export_preview_data' ), 20 ); 885 885 } … … 925 925 * @action wp_print_styles 926 926 */ 927 public function inject_preview_css() {927 public function print_preview_css() { 928 928 ?> 929 929 <style> … … 1251 1251 * @see wp_ajax_save_widget() 1252 1252 * 1253 * @todo Reuse wp_ajax_save_widget now that we have option transactions?1254 1253 */ 1255 1254 public function wp_ajax_update_widget() {
Note: See TracChangeset
for help on using the changeset viewer.