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:
parent
4997601dd1
commit
e86fe47537
@ -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' );
|
||||
}
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user