mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 11:14:36 +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:
@@ -651,8 +651,8 @@ function populate_network( $network_id = 1, $domain = '', $email = '', $site_nam
|
||||
$allowed_themes = array( $stylesheet => true );
|
||||
if ( $template != $stylesheet )
|
||||
$allowed_themes[ $template ] = true;
|
||||
if ( WP_FALLBACK_THEME != $stylesheet && WP_FALLBACK_THEME != $template )
|
||||
$allowed_themes[ WP_FALLBACK_THEME ] = true;
|
||||
if ( WP_DEFAULT_THEME != $stylesheet && WP_DEFAULT_THEME != $template )
|
||||
$allowed_themes[ WP_DEFAULT_THEME ] = true;
|
||||
|
||||
if ( 1 == $network_id ) {
|
||||
$wpdb->insert( $wpdb->site, array( 'domain' => $domain, 'path' => $path ) );
|
||||
|
||||
Reference in New Issue
Block a user