[wp-trac] [WordPress Trac] #28978: wp_send_json_error() should support WP_Error objects

WordPress Trac noreply at wordpress.org
Mon Jul 21 22:14:09 UTC 2014


#28978: wp_send_json_error() should support WP_Error objects
-----------------------------+----------------------------------------
 Reporter:  danielbachhuber  |      Owner:
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Future Release
Component:  General          |    Version:
 Severity:  normal           |   Keywords:  needs-patch good-first-bug
  Focuses:                   |
-----------------------------+----------------------------------------
 It would be nice if I could just pass my `WP_Error` object directly to
 `wp_send_json_error()`

 Related #28523

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


More information about the wp-trac mailing list