mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user