From 8f009529bb30ef580ac49a01e83ee588e25e747f Mon Sep 17 00:00:00 2001 From: Dion Hulse 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: https://develop.svn.wordpress.org/trunk@13156 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-settings.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-settings.php b/wp-settings.php index 56343ea883..810452da5e 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' );