Media: After [42695], remove redundant check that is already performed a few lines above.
Props gnif. See #43255. git-svn-id: https://develop.svn.wordpress.org/trunk@42702 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9cde54cbda
commit
a62a77eeb7
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue