[buddypress-trac] [BuddyPress Trac] #5192: User roles with differents profile fields

buddypress-trac noreply at wordpress.org
Wed Jul 15 19:37:21 UTC 2015


#5192: User roles with differents profile fields
----------------------------------+------------------
 Reporter:  _DorsVenabili         |       Owner:
     Type:  enhancement           |      Status:  new
 Priority:  normal                |   Milestone:  2.4
Component:  Component - XProfile  |     Version:
 Severity:  normal                |  Resolution:
 Keywords:  has-patch             |
----------------------------------+------------------

Comment (by boonebgorges):

 [attachment:5192.4.diff]

 * Some fixes to unit tests
 * Simplified the red "no member type" messages - thanks for the good
 advice, imath.
 * Cleaned up docblocks
 * For `get_member_type_label()`, make sure that (a) the types are listed
 in alphabetical order, and (b) the "null" option always appears last.
 * Regarding Offereins's note about inactive member types: this was
 actually already implemented, because `$field->get_member_types()` doesn't
 return invalid types :)

 I showed the feature off during this week's dev chat, and people seemed to
 like it, so I guess this is a last call for comments before initial
 commit.

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


More information about the buddypress-trac mailing list