Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pwtyler committed Oct 28, 2024
1 parent 78a2ff0 commit 92dd4dc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions inc/pantheon-media.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<?php
/**
* Media handling adjustments while on Pantheon.
**/

/*
/**
* 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'] );
Expand Down

0 comments on commit 92dd4dc

Please sign in to comment.