[buddypress-trac] [BuddyPress] #4709: BP_Buttton block_self should apply to listings too

buddypress-trac noreply at wordpress.org
Fri Apr 19 18:48:03 UTC 2013


#4709: BP_Buttton block_self should apply to listings too
-------------------------+---------------------------
 Reporter:  magnus78     |       Owner:  boonebgorges
     Type:  enhancement  |      Status:  closed
 Priority:  low          |   Milestone:  1.8
Component:  Core         |     Version:
 Severity:  minor        |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------------
Changes (by boonebgorges):

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


Comment:

 In [changeset:"6924"]:
 {{{
 #!CommitTicketReference repository="" revision="6924"
 In BP_Button, make 'block_self' work in member loops

 block_self is designed to make buttons invisible when a user is looking at
 his
 own page. This changeset makes it so that block_self also hides block_self
 buttons during a bp_has_members() loop on the iteration where the current
 user
 id is the currently iterated users.

 Note that BP does not currently put any such buttons in the members
 directory.
 This patch is for plugins/themes that add their own custom buttons.

 Fixes #4709
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4709#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list