Skip to:
Content

BuddyPress.org

Changeset 441


Ignore:
Timestamp:
10/28/2008 05:56:11 PM (16 years ago)
Author:
apeatling
Message:

Fixed bug where custom component navigation items would be parsed out by the navigation ordering function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r439 r441  
    204204            }
    205205        }
    206     }
     206    }   
    207207}
    208208add_action( 'wp', 'bp_core_setup_nav', 2 );
     
    965965    }
    966966   
     967    /* Sort the navigation array by key */
    967968    ksort($new_nav);
    968969   
    969     array_merge( $new_nav, $nav_array );
     970    /* Merge the remaining nav items, so they can be appended on the end */
     971    $new_nav = array_merge( $new_nav, $nav_array );
     972   
    970973    return $new_nav;
    971974}
Note: See TracChangeset for help on using the changeset viewer.