[buddypress-trac] [BuddyPress] #5322: Some menu items don't work correctly

buddypress-trac noreply at wordpress.org
Mon Jan 6 20:50:17 UTC 2014


#5322: Some menu items don't work correctly
-----------------------------------------+--------------------
 Reporter:  Zachary DuBois               |       Owner:
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  1.9.2
Component:  Core                         |     Version:  1.9.1
 Severity:  normal                       |  Resolution:
 Keywords:  reporter-feedback has-patch  |
-----------------------------------------+--------------------

Comment (by Zachary DuBois):

 {{{
 function bp_nav_menu_get_item_url( $slug ) {
         $nav_item_url   = '';
         $nav_menu_items = bp_nav_menu_get_loggedin_pages();

         if ( isset( $nav_menu_items[ $slug ] ) ) {
                 $nav_item_url = $nav_menu_items[ $slug ]->guid;
         }
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5322#comment:16>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list