Skip to content

Commit

Permalink
update amazon S3 compatibility for next-gen images
Browse files Browse the repository at this point in the history
  • Loading branch information
remyperona committed Mar 6, 2024
1 parent 536d89e commit 03ef526
Show file tree
Hide file tree
Showing 2 changed files with 166 additions and 152 deletions.
4 changes: 3 additions & 1 deletion classes/Picture/Display.php
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,8 @@ protected function process_image( $image ) {
}
}

$data = apply_filters_deprecated( 'imagify_webp_picture_process_image', [ $data, $image ], '2.2.1', 'imagify_picture_process_image' );

/**
* Filter a processed image tag.
*
Expand All @@ -645,7 +647,7 @@ protected function process_image( $image ) {
* @param array $data An array of data for this image.
* @param string $image An image html tag.
*/
$data = apply_filters( 'imagify_webp_picture_process_image', $data, $image );
$data = apply_filters( 'imagify_picture_process_image', $data, $image );

if ( ! $data || ! is_array( $data ) ) {
return false;
Expand Down
Loading

0 comments on commit 03ef526

Please sign in to comment.