Fix add_options_page(). Props to Owen. fixes #1562
git-svn-id: https://develop.svn.wordpress.org/trunk@2792 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
92552e262f
commit
856458343e
@ -1139,7 +1139,7 @@ function add_submenu_page($parent, $page_title, $menu_title, $access_level, $fil
|
||||
}
|
||||
|
||||
function add_options_page($page_title, $menu_title, $access_level, $file, $function = '') {
|
||||
return add_submenu_page('options-general.php', $page_title, $menu_title, $access_level, $file, $function);
|
||||
return add_submenu_page('options-personal.php', $page_title, $menu_title, $access_level, $file, $function);
|
||||
}
|
||||
|
||||
function add_management_page($page_title, $menu_title, $access_level, $file, $function = '') {
|
||||
|
Loading…
Reference in New Issue
Block a user