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

buddypress-trac noreply at wordpress.org
Mon Jan 6 22:25:35 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):

 It's cool

 {{{
         if( ! empty( $bp_directory_page_ids['register'] ) ) {
                 $register_page = get_post(
 $bp_directory_page_ids['register'] );
                 $bp_menu_items[] = array(
                         'name' => $register_page->post_title,
                         'slug' => $register,
                         'link' => get_permalink( $register_page->ID ),
                 );
         }
 }}}

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


More information about the buddypress-trac mailing list