Changeset 13745
- Timestamp:
- 03/18/2010 07:50:43 AM (14 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 1 deleted
- 3 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 ) -
trunk/wp-admin/includes/template.php
r13733 r13745 2981 2981 global $wp_settings_sections; 2982 2982 2983 if ( 'misc' == $page ) 2984 $page = 'general'; 2985 2983 2986 if ( !isset($wp_settings_sections) ) 2984 2987 $wp_settings_sections = array(); … … 3015 3018 function add_settings_field($id, $title, $callback, $page, $section = 'default', $args = array()) { 3016 3019 global $wp_settings_fields; 3020 3021 if ( 'misc' == $page ) 3022 $page = 'general'; 3017 3023 3018 3024 if ( !isset($wp_settings_fields) ) -
trunk/wp-admin/menu.php
r13733 r13745 194 194 $submenu['options-general.php'][35] = array(__('Privacy'), 'manage_options', 'options-privacy.php'); 195 195 $submenu['options-general.php'][40] = array(__('Permalinks'), 'manage_options', 'options-permalink.php'); 196 if ( is_super_admin() )197 $submenu['options-general.php'][45] = array(__('Miscellaneous'), 'manage_options', 'options-misc.php');198 196 199 197 $_wp_last_utility_menu = 80; // The index of the last top-level menu in the utility menu group
Note: See TracChangeset
for help on using the changeset viewer.