[buddypress-trac] [BuddyPress] #2086: Some slugs need to be changeable, add language strings.

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Dec 7 22:30:24 UTC 2011


#2086: Some slugs need to be changeable, add language strings.
-------------------------------------------------+-------------------------
 Reporter:  sulley                               |       Owner:
     Type:  enhancement                          |  boonebgorges
 Priority:  major                                |      Status:  assigned
Component:  Core                                 |   Milestone:  1.6
 Severity:  normal                               |     Version:
 Keywords:  dev-feedback has-patch needs-        |  Resolution:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by johnjamesjacoby):

 Attached patch changes 'slugs' to 'action_slugs' and removes the root_slug
 and slug from the array. Also adds a default slug to bp_get_slug()

 I think this approach is sound, but per IRC chat with Boone I think it
 needs more work. With all the looping and functions that are happening
 here, I think BP_Slug needs its own class with its own methods to prevent
 some of this from breaking down over time, particularly for third-party
 plugins that won't be using the new API's.

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


More information about the buddypress-trac mailing list