Changeset 13745 for trunk/wp-admin/includes/plugin.php
- Timestamp:
- 03/18/2010 07:50:43 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/plugin.php
r13733 r13745 1453 1453 function add_option_update_handler($option_group, $option_name, $sanitize_callback = '') { 1454 1454 global $new_whitelist_options; 1455 1456 if ( 'misc' == $option_group ) 1457 $option_group = 'general'; 1458 1455 1459 $new_whitelist_options[ $option_group ][] = $option_name; 1456 1460 if ( $sanitize_callback != '' ) … … 1469 1473 function remove_option_update_handler($option_group, $option_name, $sanitize_callback = '') { 1470 1474 global $new_whitelist_options; 1475 1476 if ( 'misc' == $option_group ) 1477 $option_group = 'general'; 1478 1471 1479 $pos = array_search( $option_name, (array) $new_whitelist_options ); 1472 1480 if ( $pos !== false )
Note: See TracChangeset
for help on using the changeset viewer.