Media: After [42695], remove redundant check that is already performed a few lines above.

Props gnif.
See #43255.
Built from https://develop.svn.wordpress.org/trunk@42702


git-svn-id: http://core.svn.wordpress.org/trunk@42530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-02-11 21:55:30 +00:00
parent c2e74ab915
commit abf27d78b9
2 changed files with 2 additions and 4 deletions

View File

@ -409,9 +409,7 @@ abstract class WP_Image_Editor {
$fp = fopen( $filename, 'w' );
if ( ! $fp ) {
if ( $stream ) {
ob_end_clean();
}
ob_end_clean();
return false;
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-alpha-42701';
$wp_version = '5.0-alpha-42702';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.