Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/04/2016 02:41:27 AM (9 years ago)
Author:
boonebgorges
Message:

Use correct 'link' for top-level items in bp_get_nav_menu_items().

The incorrect variable name was used when the new nav system was introduced
in [10745]. See #6534.

Fixes #7110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-template.php

    r10830 r10874  
    35103510        $menu->class  = array( 'menu-parent' );
    35113511        $menu->css_id = $nav_menu->css_id;
    3512         $menu->link   = $nav_menu->link;
     3512        $menu->link   = $link;
    35133513        $menu->name   = $nav_menu->name;
    35143514        $menu->parent = 0;
Note: See TracChangeset for help on using the changeset viewer.