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
This commit is contained in:
Dion Hulse 2010-02-28 12:39:28 +00:00
parent 4997601dd1
commit e86fe47537
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' );
}
?>