[buddypress-trac] [BuddyPress Trac] #5511: xprofile wp-admin shows duplicate fields for pre-2.0 custom field types

buddypress-trac noreply at wordpress.org
Fri Apr 4 11:18:22 UTC 2014


#5511: xprofile wp-admin shows duplicate fields for pre-2.0 custom field types
-------------------------------------+---------------------
 Reporter:  DJPaul                   |       Owner:  DJPaul
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  2.0
Component:  XProfile                 |     Version:  2.0
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  needs-testing has-patch  |
-------------------------------------+---------------------
Changes (by djpaul):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8232"]:
 {{{
 #!CommitTicketReference repository="" revision="8232"
 xProfile: fix regression in wp-admin field types screen where duplicate
 field templates were being shown for pre-2.0 custom field types.

 A switch statement in the original `xprofile_admin_field()` was mis-read
 and an action was being triggered when it shouldn't have, causing the
 field templates to double up.
 Fixes backwards compatibility with existing plugins that add custom field
 types.

 Fixes #5511
 }}}

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


More information about the buddypress-trac mailing list