Changeset 20058
- Timestamp:
- 03/01/2012 12:14:51 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-customize.php
r20055 r20058 27 27 add_action( 'setup_theme', array( $this, 'setup_theme' ) ); 28 28 add_action( 'admin_init', array( $this, 'admin_init' ) ); 29 30 // We register settings on init, so use a late priority to ensure we 31 // catch any theme settings added earlier on init (such as nav menus). 32 add_action( 'init', array( $this, 'init' ), 200 ); 29 add_action( 'wp_loaded', array( $this, 'wp_loaded' ) ); 33 30 add_action( 'admin_footer', array( $this, 'admin_footer' ) ); 34 31 … … 99 96 100 97 /** 101 * Register styles/scripts and Initthe preview of each setting102 * 103 * @since 3.4.0 104 */ 105 public function init() {98 * Register styles/scripts and initialize the preview of each setting 99 * 100 * @since 3.4.0 101 */ 102 public function wp_loaded() { 106 103 do_action( 'customize_register' ); 107 104
Note: See TracChangeset
for help on using the changeset viewer.