[wp-trac] [WordPress Trac] #58255: wp_send_json_error should respect error state passed in WP_Error.

WordPress Trac noreply at wordpress.org
Wed May 17 15:16:50 UTC 2023


#58255: wp_send_json_error should respect error state passed in WP_Error.
----------------------------+------------------------------
 Reporter:  spacedmonkey    |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  good-first-bug  |     Focuses:
----------------------------+------------------------------

Comment (by erichmond):

 I'm happy to look at this, can I get some more context just so I can
 replicate it easily with out going down the wrong track?

 I'm guessing this isn't just a simple ajax call and to replicate it and
 I'll need to trigger WP_Error through a REST API route?

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


More information about the wp-trac mailing list