Skip to content

Commit

Permalink
phpcbf
Browse files Browse the repository at this point in the history
  • Loading branch information
pwtyler committed Oct 28, 2024
1 parent e3ab405 commit 78a2ff0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions inc/pantheon-media.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
/*
* HEIC support added in 6.7 but not yet supported by ImageMagick on Pantheon.
*/
add_filter( 'image_editor_output_format', function( $output_format ) {
if ( isset($output_format['image/heic'] ) ) {
unset( $output_format['image/heic'] );
}
return $output_format;
} );
add_filter( 'image_editor_output_format', function ( $output_format ) {
if ( isset( $output_format['image/heic'] ) ) {
unset( $output_format['image/heic'] );
}
return $output_format;
} );

0 comments on commit 78a2ff0

Please sign in to comment.