[buddypress-trac] [BuddyPress] #3530: Error when the Friend Connections is turned off

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Aug 30 12:59:26 UTC 2011

#3530: Error when the Friend Connections is turned off
 Reporter:  lightcapturer  |       Owner:
     Type:  defect         |      Status:  new
 Priority:  major          |   Milestone:  1.5
Component:  Core           |     Version:  1.5
 Severity:  major          |  Resolution:
 Keywords:                 |
Changes (by boonebgorges):

 * priority:  normal => major
 * severity:  normal => major
 * milestone:  Awaiting Review => 1.5


 Good catch. This is an argument for not using the convention
 {{{bp_is_current_action( bp_get_friends_slug()}}}

 What should the alternative be? If we switch it to a hardcoded 'friends',
 then it'll break when someone defines their own BP_FRIENDS_SLUG. Perhaps a
 check at the beginning of all the template functions, which returns false
 if the component in question is disabled?

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

More information about the buddypress-trac mailing list