Fix add_options_page(). Props to Owen. fixes #1562
git-svn-id: http://svn.automattic.com/wordpress/trunk@2792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
18891bd2af
commit
c58b95fe37
|
@ -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