[buddypress-trac] [BuddyPress] #2645: define( 'BP_GROUPS_SLUG', 'new_name' )

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Sep 22 12:28:27 UTC 2010


#2645: define( 'BP_GROUPS_SLUG', 'new_name' )
---------------------+------------------------------------------------------
 Reporter:  svenl77  |       Owner:       
     Type:  defect   |      Status:  new  
 Priority:  normal   |   Milestone:  1.2.6
Component:  Core     |    Keywords:       
---------------------+------------------------------------------------------

Comment(by DJPaul):

 A component's $slug inside the $bp object will match whatever you change
 it to. If you are looking for the name of the component, e.g. "groups",
 regardless if the slug has been changed, use $id instead of $slug.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2645#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list