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:
parent
b90b27a6d6
commit
93e2940943
|
@ -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