Ticket #15306: 15306.ms.patch
| File 15306.ms.patch, 589 bytes (added by ocean90, 15 months ago) |
|---|
-
wp-admin/includes/theme.php
151 151 152 152 $blog_allowed_themes = wpmu_get_blog_allowedthemes(); 153 153 if ( is_array( $blog_allowed_themes ) ) 154 $allowed_themes = array_merge( $allowed_themes, $blog_allowed_themes );154 $allowed_themes = $allowed_themes + $blog_allowed_themes; 155 155 156 156 if ( isset( $allowed_themes[ esc_html( $ct->stylesheet ) ] ) == false ) 157 157 $allowed_themes[ esc_html( $ct->stylesheet ) ] = true;
