Changeset 10225 for trunk/wp-admin/includes/plugin.php
- Timestamp:
- 12/18/2008 10:26:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/plugin.php
r10150 r10225 1042 1042 foreach( $del_options as $page => $keys ) { 1043 1043 foreach( $keys as $key ) { 1044 $pos = array_search( $key, $whitelist_options[ $page ] ); 1045 if( $pos !== false ) 1046 unset( $whitelist_options[ $page ][ $pos ] ); 1044 if ( isset($whitelist_options[ $page ]) && is_array($whitelist_options[ $page ]) ) { 1045 $pos = array_search( $key, $whitelist_options[ $page ] ); 1046 if( $pos !== false ) 1047 unset( $whitelist_options[ $page ][ $pos ] ); 1048 } 1047 1049 } 1048 1050 }
Note: See TracChangeset
for help on using the changeset viewer.