Changeset 20145
- Timestamp:
- 03/07/2012 11:39:56 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/class-wp-theme.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-theme.php
r20144 r20145 1104 1104 } 1105 1105 // Set the option so we never have to go through this pain again. 1106 if ( is_admin() ) {1106 if ( ( is_admin() && is_main_site() ) || is_network_admin() ) { 1107 1107 update_site_option( 'allowedthemes', $allowed_themes ); 1108 1108 delete_site_option( 'allowed_themes' );
Note: See TracChangeset
for help on using the changeset viewer.