[wp-trac] [WordPress Trac] #25849: Better Error Messages for the Media Uploader

WordPress Trac noreply at wordpress.org
Sun Nov 16 05:46:37 UTC 2014


#25849: Better Error Messages for the Media Uploader
-------------------------+------------------------------
 Reporter:  chriscct7    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:  3.7
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+------------------------------

Comment (by johnbillion):

 In [changeset:"30354"]:
 {{{
 #!CommitTicketReference repository="" revision="30354"
 Add some specific JSON responses when there are user permission errors for
 AJAX file uploads. Replace some usage of `wp_json_encode()` with
 `wp_send_json_*()`.

 See #25849
 Props gcorne
 }}}

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


More information about the wp-trac mailing list