[wp-trac] [WordPress Trac] #31549: filter meta array in wp_insert_user

WordPress Trac noreply at wordpress.org
Thu Sep 17 04:35:55 UTC 2015


#31549: filter meta array in wp_insert_user
------------------------------+-----------------------------
 Reporter:  tharsheblows      |       Owner:  wonderboymusic
     Type:  enhancement       |      Status:  reopened
 Priority:  normal            |   Milestone:  4.4
Component:  Users             |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by geminorum):

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


Comment:

 Since it's the same for inserting new user and updating one, there's no
 safe way to see if the empty meta such as `description` is actually
 initiated empty or must be deleted on this update.

 suggesting pass full info to the filter, i.e. `$update`

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


More information about the wp-trac mailing list