Make WordPress Core


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

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

Merges [30438] to the 3.9 branch.

Location:
branches/3.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.9

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

    r27772 r30440  
    6464        if ( is_wp_error($upload) ) {
    6565                wp_delete_post($post_ID);
    66                 wp_die($upload);
     66                wp_die( esc_html( $upload->get_error_message() ) );
    6767        } else {
    6868                // Post formats
Note: See TracChangeset for help on using the changeset viewer.