[buddypress-trac] [BuddyPress] #3398: Defining BP_ACTIVITY_SLUG breaks profile pages

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Jul 28 01:41:18 UTC 2011

#3398: Defining BP_ACTIVITY_SLUG breaks profile pages
 Reporter:  r-a-y      |       Owner:
     Type:  defect     |      Status:  new
 Priority:  normal     |   Milestone:  1.3
Component:  Core       |     Version:  1.3
 Severity:  normal     |  Resolution:
 Keywords:  has-patch  |
Changes (by boonebgorges):

 * milestone:  Awaiting Review => 1.3


 Thanks, r-a-y. bp_is_current_component() is supposed to check against
 slugs as well as root_slugs, but something got messed up at some point
 (having to do, I think, with the move from $bp->active_components to the
 similar $bp->loaded_components). We'll set the default_component to the
 activity slugs (because in BP, current_component and its ilk come from the
 URL, ie the slugs), and then mod bp_is_current_component() to check slugs
 as well.

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

More information about the buddypress-trac mailing list