WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.0/src/wp-admin/press-this.php

    r29334 r30439  
    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.