Changeset 28203 for branches/3.9/src/wp-includes/class-wp-editor.php
- Timestamp:
- 04/24/2014 10:05:42 PM (11 years ago)
- Location:
- branches/3.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.9
-
branches/3.9/src/wp-includes/class-wp-editor.php
r28116 r28203 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.