From e86fe47537995d33e58661f83f9ebc0a472ddc5e Mon Sep 17 00:00:00 2001 From: Dion Hulse 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: https://develop.svn.wordpress.org/trunk@13500 602fd350-edb4-49c9-b593-d223f7449a82 --- 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' ); } ?>