From 93e294094364d97a067883971c3e2c758ce1b33e Mon Sep 17 00:00:00 2001 From: dd32 Date: Sun, 28 Feb 2010 12:39:28 +0000 Subject: [PATCH] Allow WP_FALLBACK_THEME to be overridden. Props Denis-de-Bernardy. Fixes #12425 git-svn-id: http://svn.automattic.com/wordpress/trunk@13500 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/default-constants.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/default-constants.php b/wp-includes/default-constants.php index 2a07c1d4f0..1d9074bda2 100644 --- a/wp-includes/default-constants.php +++ b/wp-includes/default-constants.php @@ -288,7 +288,8 @@ function wp_templating_constants( ) { * Will be used as the fallback if the current theme doesn't exist. * @since 3.0.0 */ - define( 'WP_FALLBACK_THEME', 'twentyten' ); + if ( !defined('WP_FALLBACK_THEME') ) + define( 'WP_FALLBACK_THEME', 'twentyten' ); } ?>