Ticket #27853: class-wp-editor.php.diff
File class-wp-editor.php.diff, 713 bytes (added by , 11 years ago) |
---|
-
wp-includes/class-wp-editor.php
241 241 242 242 if ( empty(self::$first_init) ) { 243 243 if ( is_admin() ) { 244 add_action( 'admin_print_footer_scripts', array( __CLASS__, 'enqueue_scripts'), 1 ); 244 245 add_action( 'admin_print_footer_scripts', array( __CLASS__, 'editor_js'), 50 ); 245 add_action( 'admin_footer', array( __CLASS__, 'enqueue_scripts'), 1 );246 246 } else { 247 247 add_action( 'wp_print_footer_scripts', array( __CLASS__, 'editor_js'), 50 ); 248 248 add_action( 'wp_footer', array( __CLASS__, 'enqueue_scripts'), 1 );