Changeset 58975 for trunk/src/wp-includes/class-wp-theme.php
- Timestamp:
- 09/03/2024 06:17:19 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme.php
r58025 r58975 1758 1758 if ( is_admin() && $allowed_themes[ $blog_id ] ) { 1759 1759 if ( $current ) { 1760 update_option( 'allowedthemes', $allowed_themes[ $blog_id ] );1760 update_option( 'allowedthemes', $allowed_themes[ $blog_id ], false ); 1761 1761 delete_option( 'allowed_themes' ); 1762 1762 } else { 1763 1763 switch_to_blog( $blog_id ); 1764 update_option( 'allowedthemes', $allowed_themes[ $blog_id ] );1764 update_option( 'allowedthemes', $allowed_themes[ $blog_id ], false ); 1765 1765 delete_option( 'allowed_themes' ); 1766 1766 restore_current_blog();
Note: See TracChangeset
for help on using the changeset viewer.