Don't pass menus by ref. Causes loop counter problems in php4. fixes #7966
git-svn-id: https://develop.svn.wordpress.org/trunk@9598 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3d4a8b4b45
commit
111173f543
@ -30,7 +30,7 @@ get_admin_page_parent();
|
||||
* @param array $submenu
|
||||
* @param bool $submenu_as_parent
|
||||
*/
|
||||
function _wp_menu_output( &$menu, &$submenu, $submenu_as_parent = true ) {
|
||||
function _wp_menu_output( $menu, $submenu, $submenu_as_parent = true ) {
|
||||
global $self, $parent_file, $submenu_file, $plugin_page, $pagenow;
|
||||
|
||||
$first = true;
|
||||
|
Loading…
Reference in New Issue
Block a user