[buddypress-trac] [BuddyPress Trac] #5755: xprofile_updated_profile action not properly passed old values

buddypress-trac noreply at wordpress.org
Wed Jul 16 09:53:19 UTC 2014


#5755: xprofile_updated_profile action not properly passed old values
--------------------------+---------------------
 Reporter:  Viper007Bond  |       Owner:  djpaul
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.1
Component:  XProfile      |     Version:  2.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------

Comment (by djpaul):

 In [changeset:"8631"]:
 {{{
 #!CommitTicketReference repository="" revision="8631"
 xProfile: when updating a user profile, make sure the actions are passed
 the field's current (new) value.

 Previously, we've been passing these actions the values that we've told
 xProfile to set, instead of the
 field's actual (new) value. Most of the time, these will be identical, but
 with BP 2.0's xProfile field
 type improvements, there are more lower-level places where the value could
 be filtered before the data's
 written to the database.

 In this situation, the field's actual new value could be different from
 what we've been returning in the
 `xprofile_profile_field_data_updated` and `xprofile_updated_profile`
 actions.

 See #5755
 }}}

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


More information about the buddypress-trac mailing list