[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
Thu Dec 1 21:35:43 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 DJPaul):

 Wow. Ok, some initial thoughts:

 * The slug array could be e.g. array( $slug_key => array( $slug,
 $description= ) ). Could be useful for putting an optional description or
 hint to use in the UI.
 * I've nothing really against template tag functions, but I'd like to vote
 for using something like: bp_activity_get_slug( 'key' ), which then calls
 bp_get_slug( 'activity', $key ) in the core component. Seems a bit less
 verbose wrt. implementation?
 * Probably best to do the bp_parse_component_slugs() stuff in the
 BP_Component class itself.

 Will think about the UI.

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

More information about the buddypress-trac mailing list