[wp-trac] [WordPress Trac] #30687: Ajax media attachment save has no error handling

WordPress Trac noreply at wordpress.org
Mon Aug 8 09:28:11 UTC 2016


#30687: Ajax media attachment save has no error handling
-------------------------+-----------------------------
 Reporter:  Krielkip     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Media        |     Version:  4.0.1
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  ui
-------------------------+-----------------------------

Comment (by Krielkip):

 Can't we use the following function to give some feedback to the user?

 {{{
 wp_send_json_error( $data );
 }}}

 Then Data has the error information and shown good to the user?

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


More information about the wp-trac mailing list