[buddypress-trac] [BuddyPress] #3812: Parameter 'include' blocks parameter 'type' in bp_has_members()

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Dec 8 02:19:49 UTC 2011


#3812: Parameter 'include' blocks parameter 'type' in bp_has_members()
--------------------------+------------------------------
 Reporter:  janismo       |       Owner:  janismo
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Core          |     Version:  1.5.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by boonebgorges):

 Confirmed.

 This is a weird one. It's due to this line:
 http://buddypress.trac.wordpress.org/browser/tags/1.5.1/bp-members/bp-
 members-template.php#L182 (see 184-5). That if clause was added a long
 time ago on the 1.2 branch but was then lost at one point along the line.

 I don't think it does anything valuable, since the BP_Core_User::get()
 method takes an include() parameter. I'm taking it out.

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


More information about the buddypress-trac mailing list