define( 'BP_GROUPS_SLUG', 'new_name' )
|Reported by:||svenl77||Owned by:|
|Component:||Component - Core||Keywords:||dev-feedback close|
My plugin Seo for buddypress breaks in buddypress version 126.96.36.199, and now I'm not sure if this is a buddypress bug, or my problem.
Bevore I start to fix it in the plugin, I would like to know if this could be a bug in buddypress.
If I change the groups slug, the $bp variable still has a component groups, but if you ask for the current component, it gives you the new component slug.
In the backend I offer seo optimization based on the components from $bp->[component].
In the frontend I print the meta of the active page according to the $bp->current_component
because these two are different, I do not get the %%tag%% values, and the plugin breaks.
Here is the forum topic to this bug