[buddypress-trac] [BuddyPress] #3578: Determine $bp->component->root_slug automatically

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Sep 14 17:05:53 UTC 2011

#3578: Determine $bp->component->root_slug automatically
 Reporter:  boonebgorges  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  1.5.1
Component:  Core          |     Version:  1.5
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |

Comment (by boonebgorges):

 My "automatic" idea would tasse care of rootslugless components by
 assigning them an empty string. This is what's already happening anyway,
 just at the individual component level.

 As for the broader question, I'm curious as to why you don't want to
 provide defaults for these values. It seems to me that the point of
 BP_Component is to make it as ready as possible to write new components.
 If we can help plugin authors by making intelligent guesses about values
 that they will never (or hardly ever) change, why shouldn't we?

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

More information about the buddypress-trac mailing list