[buddypress-trac] [BuddyPress Trac] #5734: Members loop inside a BP profile only shows friends of the displayed users.

buddypress-trac noreply at wordpress.org
Sat Jul 12 01:54:47 UTC 2014


#5734: Members loop inside a BP profile only shows friends of the displayed users.
-------------------------+---------------------------
 Reporter:  CommonEasy   |       Owner:  boonebgorges
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  2.1
Component:  Members      |     Version:  1.2.6
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8607"]:
 {{{
 #!CommitTicketReference repository="" revision="8607"
 block_self should not block all buttons when inside a members loop on
 one's own profile

 This changeset reconfigures the block_self logic in BP_Button so that the
 bp_is_my_profile() check is skipped when inside of a members loop. This
 allows
 block_self logic to operate properly when inside of a members loop that
 happens
 to appear on the logged-in user's profile page.

 Also adds unit tests for the block_self param.

 Fixes #5734

 Props r-a-y for the initial patch.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5734#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list