Introduce WP_DEFAULT_THEME
git-svn-id: https://develop.svn.wordpress.org/trunk@13737 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f5ace6aec1
commit
e89d1c5dcb
|
@ -247,8 +247,8 @@ function populate_options() {
|
||||||
'default_email_category' => 1,
|
'default_email_category' => 1,
|
||||||
'recently_edited' => '',
|
'recently_edited' => '',
|
||||||
'use_linksupdate' => 0,
|
'use_linksupdate' => 0,
|
||||||
'template' => WP_FALLBACK_THEME,
|
'template' => WP_DEFAULT_THEME,
|
||||||
'stylesheet' => WP_FALLBACK_THEME,
|
'stylesheet' => WP_DEFAULT_THEME,
|
||||||
'comment_whitelist' => 1,
|
'comment_whitelist' => 1,
|
||||||
'blacklist_keys' => '',
|
'blacklist_keys' => '',
|
||||||
'comment_registration' => 0,
|
'comment_registration' => 0,
|
||||||
|
|
|
@ -283,13 +283,21 @@ function wp_templating_constants( ) {
|
||||||
*/
|
*/
|
||||||
define('STYLESHEETPATH', get_stylesheet_directory());
|
define('STYLESHEETPATH', get_stylesheet_directory());
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Slug of the default theme for this install.
|
||||||
|
* Used as the default theme when installing new sites.
|
||||||
|
* @since 3.0.0
|
||||||
|
*/
|
||||||
|
if ( !defined('WP_DEFAULT_THEME') )
|
||||||
|
define( 'WP_DEFAULT_THEME', 'twentyten' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Slug of the fallback theme for this install.
|
* Slug of the fallback theme for this install.
|
||||||
* Will be used as the fallback if the current theme doesn't exist.
|
* Will be used as the fallback if the current theme doesn't exist.
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
*/
|
*/
|
||||||
if ( !defined('WP_FALLBACK_THEME') )
|
if ( !defined('WP_FALLBACK_THEME') )
|
||||||
define( 'WP_FALLBACK_THEME', 'twentyten' );
|
define( 'WP_FALLBACK_THEME', WP_DEFAULT_THEME );
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue