Changeset 28187
- Timestamp:
- 04/22/2014 10:40:33 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r28116 r28187 242 242 if ( empty(self::$first_init) ) { 243 243 if ( is_admin() ) { 244 add_action( 'admin_print_footer_scripts', array( __CLASS__, 'editor_js' ), 50 );245 add_action( 'admin_ footer', array( __CLASS__, 'enqueue_scripts'), 1 );244 add_action( 'admin_print_footer_scripts', array( __CLASS__, 'editor_js' ), 50 ); 245 add_action( 'admin_print_footer_scripts', array( __CLASS__, 'enqueue_scripts' ), 1 ); 246 246 } else { 247 add_action( 'wp_print_footer_scripts', array( __CLASS__, 'editor_js' ), 50 );248 add_action( 'wp_ footer', array( __CLASS__, 'enqueue_scripts'), 1 );247 add_action( 'wp_print_footer_scripts', array( __CLASS__, 'editor_js' ), 50 ); 248 add_action( 'wp_print_footer_scripts', array( __CLASS__, 'enqueue_scripts' ), 1 ); 249 249 } 250 250 }
Note: See TracChangeset
for help on using the changeset viewer.