[buddypress-trac] [BuddyPress Trac] #6188: Member Types API: remove a user's member type

buddypress-trac noreply at wordpress.org
Mon Mar 2 16:14:03 UTC 2015


#6188: Member Types API: remove a user's member type
---------------------------------+------------------
 Reporter:  Offereins            |       Owner:
     Type:  enhancement          |      Status:  new
 Priority:  normal               |   Milestone:  2.3
Component:  Component - Members  |     Version:  2.2
 Severity:  normal               |  Resolution:
 Keywords:  has-patch            |
---------------------------------+------------------
Changes (by Mamaduka):

 * keywords:  has-patch needs-unit-tests => has-patch


Comment:

 Offereins, boonebgorges

 I think better approach here will be to use `wp_remove_object_terms()`
 function.

 [[attachment:6188.2.diff]] updates function to use this method.

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


More information about the buddypress-trac mailing list