- Timestamp:
- 04/05/2020 03:00:44 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php
r47219 r47550 46 46 47 47 $status = isset( $_REQUEST['theme_status'] ) ? $_REQUEST['theme_status'] : 'all'; 48 if ( ! in_array( $status, array( 'all', 'enabled', 'disabled', 'upgrade', 'search', 'broken' ) ) ) {48 if ( ! in_array( $status, array( 'all', 'enabled', 'disabled', 'upgrade', 'search', 'broken' ), true ) ) { 49 49 $status = 'all'; 50 50 } … … 144 144 } 145 145 146 if ( empty( $themes[ $status ] ) && ! in_array( $status, array( 'all', 'search' ) ) ) {146 if ( empty( $themes[ $status ] ) && ! in_array( $status, array( 'all', 'search' ), true ) ) { 147 147 $status = 'all'; 148 148 } … … 675 675 foreach ( $columns as $column_name => $column_display_name ) { 676 676 $extra_classes = ''; 677 if ( in_array( $column_name, $hidden ) ) {677 if ( in_array( $column_name, $hidden, true ) ) { 678 678 $extra_classes .= ' hidden'; 679 679 }
Note: See TracChangeset
for help on using the changeset viewer.