[wp-trac] [WordPress Trac] #28978: wp_send_json_error() should support WP_Error objects
WordPress Trac
noreply at wordpress.org
Wed Sep 10 19:25:38 UTC 2014
#28978: wp_send_json_error() should support WP_Error objects
--------------------------------------+-----------------------------
Reporter: danielbachhuber | Owner: paulschreiber
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+-----------------------------
Changes (by nacin):
* owner: => paulschreiber
* status: new => assigned
Comment:
Looks like those array casts can be dropped without an issue. (Yes,
WP_Error also has a seemingly unnecessary array cast inside it.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28978#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list