From 5dfd56eceafb8ec6651b282389f3606f1c08a274 Mon Sep 17 00:00:00 2001 From: Paul Bearne Date: Fri, 6 Dec 2024 11:01:43 -0500 Subject: [PATCH] Fix inconsistent spacing in hooks.php file Remove unnecessary whitespace around the assignment operator in the 'hasTransparency' key modification. This change ensures code consistency and readability in the dominant-color-images plugin. --- plugins/dominant-color-images/hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dominant-color-images/hooks.php b/plugins/dominant-color-images/hooks.php index 2891fd474..bf13d1dfa 100644 --- a/plugins/dominant-color-images/hooks.php +++ b/plugins/dominant-color-images/hooks.php @@ -256,7 +256,7 @@ function dominant_color_prepare_attachment_for_js( $response, WP_Post $attachmen $response['hasTransparency'] = ''; $response['hasTransparencyClass'] = ''; if ( isset( $meta['has_transparency'] ) ) { - $response['hasTransparency'] = (bool) $meta['has_transparency']; + $response['hasTransparency'] = (bool) $meta['has_transparency']; } return $response;