Changeset 20053 for trunk/wp-includes/theme.php
- Timestamp:
- 02/29/2012 11:04:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r20040 r20053 57 57 if ( is_multisite() && null !== $args['allowed'] ) { 58 58 if ( $allowed = $args['allowed'] ) { 59 if ( 'network' == $allowed )59 if ( 'network' === $allowed ) 60 60 $themes = array_intersect_key( $themes, WP_Theme::get_allowed_on_network( $args['blog_id'] ) ); 61 elseif ( 'site' == $allowed )61 elseif ( 'site' === $allowed ) 62 62 $themes = array_intersect_key( $themes, WP_Theme::get_allowed_on_site( $args['blog_id'] ) ); 63 63 else
Note: See TracChangeset
for help on using the changeset viewer.