@@ 1163-1167 (lines=5) @@ | ||
1160 | if ( ! is_multisite() ) |
|
1161 | return true; |
|
1162 | ||
1163 | if ( 'both' == $check || 'network' == $check ) { |
|
1164 | $allowed = self::get_allowed_on_network(); |
|
1165 | if ( ! empty( $allowed[ $this->get_stylesheet() ] ) ) |
|
1166 | return true; |
|
1167 | } |
|
1168 | ||
1169 | if ( 'both' == $check || 'site' == $check ) { |
|
1170 | $allowed = self::get_allowed_on_site( $blog_id ); |
|
@@ 1169-1173 (lines=5) @@ | ||
1166 | return true; |
|
1167 | } |
|
1168 | ||
1169 | if ( 'both' == $check || 'site' == $check ) { |
|
1170 | $allowed = self::get_allowed_on_site( $blog_id ); |
|
1171 | if ( ! empty( $allowed[ $this->get_stylesheet() ] ) ) |
|
1172 | return true; |
|
1173 | } |
|
1174 | ||
1175 | return false; |
|
1176 | } |