mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
General: Fix some precision alignment formatting warnings.
The WPCS `WordPress.WhiteSpace.PrecisionAlignment` rule throws warnings for a bunch of code that will likely cause issues for `wpcbf`. Fixing these manually beforehand gives us better auto-fixed results later. See #41057. git-svn-id: https://develop.svn.wordpress.org/trunk@42228 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -171,7 +171,7 @@ abstract class WP_Tests_Image_Resize_UnitTestCase extends WP_Image_UnitTestCase
|
||||
return $editor;
|
||||
|
||||
$resized = $editor->resize( $width, $height, $crop );
|
||||
if ( is_wp_error( $resized ) )
|
||||
if ( is_wp_error( $resized ) )
|
||||
return $resized;
|
||||
|
||||
$dest_file = $editor->generate_filename();
|
||||
|
||||
Reference in New Issue
Block a user