| 1 | Index: wp-includes/nav-menu-template.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-includes/nav-menu-template.php (revision 14944) |
|---|
| 4 | +++ wp-includes/nav-menu-template.php (working copy) |
|---|
| 5 | @@ -296,7 +296,7 @@ |
|---|
| 6 | * |
|---|
| 7 | * @param array $menu_items The current menu item objects to which to add the class property information. |
|---|
| 8 | */ |
|---|
| 9 | -function _wp_menu_item_classes_by_context( &$menu_items = array() ) { |
|---|
| 10 | +function _wp_menu_item_classes_by_context( &$menu_items ) { |
|---|
| 11 | global $wp_query; |
|---|
| 12 | |
|---|
| 13 | $queried_object = $wp_query->get_queried_object(); |
|---|