[wp-trac] [WordPress Trac] #44648: User creation even though an error is thrown

WordPress Trac noreply at wordpress.org
Thu Jul 26 10:37:13 UTC 2018


#44648: User creation even though an error is thrown
--------------------------+---------------------
 Reporter:  apermo        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.0
Component:  REST API      |     Version:  4.9.7
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------
Changes (by apermo):

 * keywords:  needs-patch needs-unit-tests =>


Comment:

 Ok, the first part of my problem is solved thanks to @flixos90

 My code was missing a auth_callback, but the issue that a nested error
 will not return the information that the user itself was created is still
 an issue.

 Without testing, I assume that the same problem will also occur for any
 other item type, in case of posts leading to double postings.

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


More information about the wp-trac mailing list