Ticket #22803: 22803.diff
File 22803.diff, 484 bytes (added by , 12 years ago) |
---|
-
wp-includes/class-wp-theme.php
1104 1104 public static function get_allowed_on_site( $blog_id = null ) { 1105 1105 static $allowed_themes = array(); 1106 1106 1107 if ( ! $blog_id )1107 if ( ! $blog_id || ! is_multisite() ) 1108 1108 $blog_id = get_current_blog_id(); 1109 1109 1110 1110 if ( isset( $allowed_themes[ $blog_id ] ) )