Ticket #12231: themes_loaded.diff
File themes_loaded.diff, 1009 bytes (added by , 15 years ago) |
---|
-
wp-content/themes/twentyten/functions.php
39 39 require_once( $locale_file ); 40 40 } 41 41 endif; 42 add_action( 'themes_ loaded', 'twentyten_init' );42 add_action( 'themes_setup', 'twentyten_init' ); 43 43 44 44 if ( ! function_exists( 'twentyten_admin_header_style' ) ) : 45 45 function twentyten_admin_header_style() { -
wp-settings.php
261 261 if ( file_exists( TEMPLATEPATH . '/functions.php' ) ) 262 262 include( TEMPLATEPATH . '/functions.php' ); 263 263 264 do_action( 'themes_ loaded' );264 do_action( 'themes_setup' ); 265 265 266 266 // Load any template functions the theme supports. 267 267 require_if_theme_supports( 'post-thumbnails', ABSPATH . WPINC . '/post-thumbnail-template.php' );