Changeset 47557 for trunk/src/wp-admin/includes/plugin.php
- Timestamp:
- 04/09/2020 03:41:04 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r47550 r47557 2171 2171 $whitelist_options[ $page ][] = $key; 2172 2172 } else { 2173 $pos = array_search( $key, $whitelist_options[ $page ] );2173 $pos = array_search( $key, $whitelist_options[ $page ], true ); 2174 2174 if ( false === $pos ) { 2175 2175 $whitelist_options[ $page ][] = $key; … … 2203 2203 foreach ( $keys as $key ) { 2204 2204 if ( isset( $whitelist_options[ $page ] ) && is_array( $whitelist_options[ $page ] ) ) { 2205 $pos = array_search( $key, $whitelist_options[ $page ] );2205 $pos = array_search( $key, $whitelist_options[ $page ], true ); 2206 2206 if ( false !== $pos ) { 2207 2207 unset( $whitelist_options[ $page ][ $pos ] );
Note: See TracChangeset
for help on using the changeset viewer.