[buddypress-trac] [BuddyPress] #3622: bp_get_sitewide_activity_feed_link()

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Sep 25 15:29:22 UTC 2011


#3622: bp_get_sitewide_activity_feed_link()
----------------------+-----------------------------
 Reporter:  webraket  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:  Awaiting Review
Component:  Core      |    Version:  1.5
 Severity:  normal    |   Keywords:
----------------------+-----------------------------
 bp_get_sitewide_activity_feed_link() doesn't works as expected in one of
 my plugins.

 It returns {home_url}/feed/ where it should be {home_url}/activity/feed/

 Looks like bp_get_activity_slug() or bp_get_activity_root_slug() is
 causing the problem, seems to return an empty string.

 I also think the function should use network_home_url() instead of
 home_url().

 function test(){
 echo bp_get_sitewide_activity_feed_link();
 }
 add_action('init', 'test');

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3622>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list