diff --git a/wp-admin/press-this.php b/wp-admin/press-this.php index 160a286642..6ae7341f34 100644 --- a/wp-admin/press-this.php +++ b/wp-admin/press-this.php @@ -63,7 +63,7 @@ function press_it() { // Error handling for media_sideload. if ( is_wp_error($upload) ) { wp_delete_post($post_ID); - wp_die($upload); + wp_die( esc_html( $upload->get_error_message() ) ); } else { // Post formats. if ( isset( $_POST['post_format'] ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index f0aa3860ec..542fb9312f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta1-30435'; +$wp_version = '4.1-beta1-30438'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.