[buddypress-trac] [BuddyPress Trac] #6125: Small improvements to Member Types functions

buddypress-trac noreply at wordpress.org
Thu Jan 15 17:08:28 UTC 2015

#6125: Small improvements to Member Types functions
 Reporter:  Offereins     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Members       |    Version:
 Severity:  normal        |   Keywords:  has-patch
 In BP 2.2-beta2, checking out the new Member Types API functionality, I
 encountered some bugs and redundant code:

 * Modification of the type args `$r` without storing it in the `type`
 * Checking for type (array key) existence with `empty()` instead of
 * Declaring a `$field` variable without using it

 A patch is attached for `bp-members/bp-members-functions.php`.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6125>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list