Make WordPress Core


Ignore:
Timestamp:
11/20/2014 01:59:18 PM (12 years ago)
Author:
nacin
Message:

Press This: Ensure the error message is printed. props johnbillion

Merges [30438] to the 3.7 branch.

Location:
branches/3.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.7

  • branches/3.7/src/wp-admin/press-this.php

    r25616 r30442  
    6666        if ( is_wp_error($upload) ) {
    6767                wp_delete_post($post_ID);
    68                 wp_die($upload);
     68                wp_die( esc_html( $upload->get_error_message() ) );
    6969        } else {
    7070                // Post formats
Note: See TracChangeset for help on using the changeset viewer.