Better support for theme plugins. add_theme_page() and active theme functions.php autoloader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -189,6 +189,10 @@ load_default_textdomain();
|
||||
// Pull in locale data after loading text domain.
|
||||
require_once(ABSPATH . WPINC . '/locale.php');
|
||||
|
||||
// Load functions for active theme.
|
||||
if ( file_exists(TEMPLATEPATH . "/functions.php") )
|
||||
include(TEMPLATEPATH . "/functions.php");
|
||||
|
||||
function shutdown_action_hook() {
|
||||
do_action('shutdown');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user