Don't pass menus by ref. Causes loop counter problems in php4. fixes #7966

git-svn-id: http://svn.automattic.com/wordpress/trunk@9598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-10 21:50:31 +00:00
parent 2c32b53092
commit eb98d60d03

View File

@ -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;