[buddypress-trac] [BuddyPress Trac] #5170: bp_has_members() in widgets stomps $members_template global

buddypress-trac noreply at wordpress.org
Fri Jan 9 14:52:08 UTC 2015

#5170: bp_has_members() in widgets stomps $members_template global
 Reporter:  johnjamesjacoby  |       Owner:  johnjamesjacoby
     Type:  defect (bug)     |      Status:  new
 Priority:  high             |   Milestone:  Future Release
Component:  Members          |     Version:  1.0
 Severity:  major            |  Resolution:
 Keywords:  dev-feedback     |

Comment (by boonebgorges):

 In [changeset:"9327"]:
 #!CommitTicketReference repository="" revision="9327"
 Explicitly declare block_self=false for group and blog create buttons.

 The block_self parameter, which defaults to true, is designed to prevent
 like 'Add Friend' buttons appearing when viewing oneself in a member loop.
 the case of group and blog create buttons, the parameter is not really
 meaningful. But in certain cases of global variable population (such as
 a members loop is run on the page before the group/blog buttons are
 block_self=true can cause these buttons to be improperly suppressed.

 See #5170 for background on the problem.

 Fixes #6096.
 Props hnla.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5170#comment:15>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list