Coding Standards: Fix alignment in WP_Image_Editor_Imagick::thumbnail_image.
Follow-up to [59589]. See #36477, #62279. Built from https://develop.svn.wordpress.org/trunk@60047 git-svn-id: http://core.svn.wordpress.org/trunk@59383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -504,7 +504,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
||||
$max_colors = pow( 2, $indexed_pixel_depth );
|
||||
if ( is_callable( array( $this->image, 'getImageColors' ) ) ) {
|
||||
$current_colors = $this->image->getImageColors();
|
||||
$max_colors = min( $max_colors, $current_colors );
|
||||
$max_colors = min( $max_colors, $current_colors );
|
||||
}
|
||||
$this->image->quantizeImage( $max_colors, $this->image->getColorspace(), 0, false, false );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user