[wp-trac] [WordPress Trac] #27377: profile_update action with old_user_data should include the additional_user_keys data?

WordPress Trac noreply at wordpress.org
Thu Apr 29 10:48:17 UTC 2021


#27377: profile_update action with old_user_data should include the
additional_user_keys data?
----------------------------+-----------------------------
 Reporter:  joostdekeijzer  |       Owner:  (none)
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Users           |     Version:  2.7
 Severity:  normal          |  Resolution:  worksforme
 Keywords:  close           |     Focuses:  administration
----------------------------+-----------------------------
Changes (by johnbillion):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Confirmed. These fields aren't public properties on the `WP_User` object
 in `$old_user_data` but they are returned if you request the properties.

 Ref: https://github.com/WordPress/wordpress-
 develop/blob/30ff995eb0aa2660ef4b08b9e3c5f7b0126c702b/src/wp-includes
 /class-wp-user.php#L15-L36

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/27377#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list