No default value for pass by ref. Props filosofo. fixes #13553
git-svn-id: http://svn.automattic.com/wordpress/trunk@14945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
65c6c9a3bd
commit
b7947aee30
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue