[wp-trac] [WordPress Trac] #47902: hook wp_pre_insert_user_data should return a WP_Error when returned empty

WordPress Trac noreply at wordpress.org
Tue Aug 20 17:25:12 UTC 2019


#47902: hook wp_pre_insert_user_data should return a WP_Error when returned empty
-------------------------+-----------------------------
 Reporter:  juliobox     |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.3
Component:  Users        |     Version:  trunk
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"45858" 45858]:
 {{{
 #!CommitTicketReference repository="" revision="45858"
 Users: In `wp_insert_user()`, account for the `wp_pre_insert_user_data`
 filter returning empty data.

 Props juliobox, SergeyBiryukov.
 Fixes #47902.
 }}}

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


More information about the wp-trac mailing list