mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 02:34:38 +00:00
Remove WP_FALLBACK_THEME, use WP_DEFAULT_THEME instead. We now only fall back to the default theme if the theme is broken. Incomplete themes that need to inherit templates will inherit them from wp-includes/theme-compat -- this behavior is deprecated. fixes #12846.
git-svn-id: https://develop.svn.wordpress.org/trunk@14485 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -286,18 +286,12 @@ function wp_templating_constants( ) {
|
||||
/**
|
||||
* Slug of the default theme for this install.
|
||||
* Used as the default theme when installing new sites.
|
||||
* Will be used as the fallback if the current theme doesn't exist.
|
||||
* @since 3.0.0
|
||||
*/
|
||||
if ( !defined('WP_DEFAULT_THEME') )
|
||||
define( 'WP_DEFAULT_THEME', 'twentyten' );
|
||||
|
||||
/**
|
||||
* Slug of the fallback theme for this install.
|
||||
* Will be used as the fallback if the current theme doesn't exist.
|
||||
* @since 3.0.0
|
||||
*/
|
||||
if ( !defined('WP_FALLBACK_THEME') )
|
||||
define( 'WP_FALLBACK_THEME', WP_DEFAULT_THEME );
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user