Permalink
Browse files

Add 'themes_loaded' hook to run after parent/child themes have been i…

…ncluded. See #9015

git-svn-id: http://svn.automattic.com/wordpress/trunk@13156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent f8ca7df commit dce728dbda6c1613644043a09ea7804416ea3294 dd32 committed Feb 14, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 wp-settings.php
View
@@ -261,6 +261,8 @@
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' );

0 comments on commit dce728d

Please sign in to comment.