Make WordPress Core

Changeset 13214


Ignore:
Timestamp:
02/19/2010 10:00:00 AM (15 years ago)
Author:
dd32
Message:

Rename the new 'themes_loaded' hook to 'after_setup_theme' to prevent confusion as to what it actually does & where its fired from. Fixes #12231

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/functions.php

    r13157 r13214  
    4040}
    4141endif;
    42 add_action( 'themes_loaded', 'twentyten_init' );
     42add_action( 'after_setup_theme', 'twentyten_init' );
    4343
    4444if ( ! function_exists( 'twentyten_admin_header_style' ) ) :
  • trunk/wp-settings.php

    r13205 r13214  
    266266    include( TEMPLATEPATH . '/functions.php' );
    267267
    268 do_action( 'themes_loaded' );
     268do_action( 'after_setup_theme' );
    269269
    270270// Load any template functions the theme supports.
Note: See TracChangeset for help on using the changeset viewer.