Changeset 47550 for trunk/src/wp-admin/includes/class-wp-screen.php
- 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-screen.php
r47219 r47550 1158 1158 foreach ( $columns as $column => $title ) { 1159 1159 // Can't hide these for they are special. 1160 if ( in_array( $column, $special ) ) {1160 if ( in_array( $column, $special, true ) ) { 1161 1161 continue; 1162 1162 } … … 1175 1175 $id = "$column-hide"; 1176 1176 echo '<label>'; 1177 echo '<input class="hide-column-tog" name="' . $id . '" type="checkbox" id="' . $id . '" value="' . $column . '"' . checked( ! in_array( $column, $hidden ), true, false ) . ' />';1177 echo '<input class="hide-column-tog" name="' . $id . '" type="checkbox" id="' . $id . '" value="' . $column . '"' . checked( ! in_array( $column, $hidden, true ), true, false ) . ' />'; 1178 1178 echo "$title</label>\n"; 1179 1179 } … … 1311 1311 $view_mode_post_types = apply_filters( 'view_mode_post_types', $view_mode_post_types ); 1312 1312 1313 if ( ! in_array( $this->post_type, $view_mode_post_types ) ) {1313 if ( ! in_array( $this->post_type, $view_mode_post_types, true ) ) { 1314 1314 return; 1315 1315 }
Note: See TracChangeset
for help on using the changeset viewer.