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

WordPress Trac noreply at wordpress.org
Fri Aug 16 19:40:23 UTC 2024


#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 has-patch  |     Focuses:
--------------------------------------+------------------------------
Changes (by rtiodev):

 * Attachment "0001-Set-status-code-when-it-is-null.patch" added.

 Based on this https://github.com/WordPress/wordpress-develop/pull/4496
 without the formatting stuff and fixed the conflicts.

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


More information about the wp-trac mailing list