From dce728dbda6c1613644043a09ea7804416ea3294 Mon Sep 17 00:00:00 2001 From: dd32 Date: Sun, 14 Feb 2010 21:27:55 +0000 Subject: [PATCH] Add 'themes_loaded' hook to run after parent/child themes have been included. See #9015 git-svn-id: http://svn.automattic.com/wordpress/trunk@13156 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-settings.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-settings.php b/wp-settings.php index 56343ea88..810452da5 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -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' );