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;