Changeset 13070
- Timestamp:
- 02/12/2010 10:45:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/schema.php
r13012 r13070 643 643 $template = get_option( 'template' ); 644 644 $stylesheet = get_option( 'stylesheet' ); 645 $allowed_themes = array( $stylesheet => true ); 645 646 if ( $template != $stylesheet ) 646 $allowed_themes = array( $template => true, $stylesheet => true );647 else648 $allowed_themes = array( $stylesheet => true );647 $allowed_themes[ $template ] = true; 648 if ( WP_FALLBACK_THEME != $stylesheet && WP_FALLBACK_THEME != $template ) 649 $allowed_themes[ WP_FALLBACK_THEME ] = true; 649 650 650 651 if ( 1 == $network_id ) {
Note: See TracChangeset
for help on using the changeset viewer.