No default value for pass by ref. Props filosofo. fixes #13553

git-svn-id: https://develop.svn.wordpress.org/trunk@14945 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-05-26 16:25:29 +00:00
parent 6c79e1395d
commit 22cb105416
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ function wp_nav_menu( $args = array() ) {
* *
* @param array $menu_items The current menu item objects to which to add the class property information. * @param array $menu_items The current menu item objects to which to add the class property information.
*/ */
function _wp_menu_item_classes_by_context( &$menu_items = array() ) { function _wp_menu_item_classes_by_context( &$menu_items ) {
global $wp_query; global $wp_query;
$queried_object = $wp_query->get_queried_object(); $queried_object = $wp_query->get_queried_object();