|
@@ 1236-1240 (lines=5) @@
|
| 1233 |
|
if ( ! is_multisite() ) |
| 1234 |
|
return true; |
| 1235 |
|
|
| 1236 |
|
if ( 'both' == $check || 'network' == $check ) { |
| 1237 |
|
$allowed = self::get_allowed_on_network(); |
| 1238 |
|
if ( ! empty( $allowed[ $this->get_stylesheet() ] ) ) |
| 1239 |
|
return true; |
| 1240 |
|
} |
| 1241 |
|
|
| 1242 |
|
if ( 'both' == $check || 'site' == $check ) { |
| 1243 |
|
$allowed = self::get_allowed_on_site( $blog_id ); |
|
@@ 1242-1246 (lines=5) @@
|
| 1239 |
|
return true; |
| 1240 |
|
} |
| 1241 |
|
|
| 1242 |
|
if ( 'both' == $check || 'site' == $check ) { |
| 1243 |
|
$allowed = self::get_allowed_on_site( $blog_id ); |
| 1244 |
|
if ( ! empty( $allowed[ $this->get_stylesheet() ] ) ) |
| 1245 |
|
return true; |
| 1246 |
|
} |
| 1247 |
|
|
| 1248 |
|
return false; |
| 1249 |
|
} |