Add 'themes_loaded' hook to run after parent/child themes have been included. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13156 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
dc7a5f121c
commit
8f009529bb
@ -261,6 +261,8 @@ if ( TEMPLATEPATH !== STYLESHEETPATH && file_exists( STYLESHEETPATH . '/function
|
||||
if ( file_exists( TEMPLATEPATH . '/functions.php' ) )
|
||||
include( TEMPLATEPATH . '/functions.php' );
|
||||
|
||||
do_action( 'themes_loaded' );
|
||||
|
||||
// Load any template functions the theme supports.
|
||||
require_if_theme_supports( 'post-thumbnails', ABSPATH . WPINC . '/post-thumbnail-template.php' );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user