[buddypress-trac] [BuddyPress] #2554: bp_is_activity_front_page() broken when BP used on secondary blog

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Jul 26 18:11:47 UTC 2010


#2554: bp_is_activity_front_page() broken when BP used on secondary blog
--------------------+-------------------------------------------------------
 Reporter:  r-a-y   |       Owner:           
     Type:  defect  |      Status:  new      
 Priority:  normal  |   Milestone:  1.2.6    
Component:  Core    |    Keywords:  has-patch
--------------------+-------------------------------------------------------
 If BP_ROOT_BLOG is set to anything other than 1,
 bp_is_activity_front_page() breaks.

 The reason is bp_is_activity_front_page() utilizes
 bp_core_get_site_path(), which will always return "/" instead of checking
 the $current_blog->path.

 The attached patch fixes this.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2554>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list