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
This commit is contained in:
dd32 2010-02-28 12:39:28 +00:00
parent b90b27a6d6
commit 93e2940943
1 changed files with 2 additions and 1 deletions

View File

@ -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' );
}
?>