diff --git a/build.json b/build.json index cb2044c..444f276 100644 --- a/build.json +++ b/build.json @@ -1 +1 @@ -{"owner":"humanmade","repo":"smart-media","sha":"d283a976cef54403ba29d26619e2cc27d8225129","ref":"refs/tags/0.5.6","tagName":"0.5.6","branch":"gh-actions","tags":["0.5.6"],"updated_at":"2024-11-27T14:37:23.777Z"} \ No newline at end of file +{"owner":"humanmade","repo":"smart-media","sha":"de46d43a95739a481b9d320b9c6d3e92d9a324f7","ref":"refs/tags/0.5.7","tagName":"0.5.7","branch":"gh-actions","tags":["0.5.7"],"updated_at":"2024-11-27T16:56:50.515Z"} \ No newline at end of file diff --git a/inc/cropper/namespace.php b/inc/cropper/namespace.php index 446007b..cb207c4 100644 --- a/inc/cropper/namespace.php +++ b/inc/cropper/namespace.php @@ -971,7 +971,7 @@ function content_img_tag( string $filtered_image, string $context, int $attachme */ function maybe_add_loading_optimization_attributes( $loading_attrs, $tag_name, $attr, $context ) { $allowed_context = [ 'the_content', 'template' ]; - if ( ! in_array( $context, $allowed_context , true ) ) ) { + if ( ! in_array( $context, $allowed_context , true ) ) { return $loading_attrs; } diff --git a/plugin.php b/plugin.php index 910b718..56ffb8a 100644 --- a/plugin.php +++ b/plugin.php @@ -4,7 +4,7 @@ * Description: Advanced media tools that take advantage of Rekognition and Tachyon. * Author: Human Made Limited * License: GPL-3.0 - * Version: 0.5.6 + * Version: 0.5.7 */ namespace HM\Media;