Changeset 59018
- Timestamp:
- 09/13/2024 05:21:45 AM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/update.php
r58906 r59018 116 116 $gd_info = array_filter( $gd_info ); 117 117 118 // Add data for GD WebP and AVIFsupport.118 // Add data for GD WebP, AVIF and HEIC support. 119 119 $query['image_support']['gd'] = array_keys( 120 120 array_filter( … … 122 122 'webp' => isset( $gd_info['WebP Support'] ), 123 123 'avif' => isset( $gd_info['AVIF Support'] ), 124 'heic' => isset( $gd_info['HEIC Support'] ), 124 125 ) 125 126 ) … … 128 129 129 130 if ( class_exists( 'Imagick' ) ) { 130 // Add data for Imagick WebP and AVIFsupport.131 // Add data for Imagick WebP, AVIF and HEIC support. 131 132 $query['image_support']['imagick'] = array_keys( 132 133 array_filter( … … 134 135 'webp' => ! empty( Imagick::queryFormats( 'WEBP' ) ), 135 136 'avif' => ! empty( Imagick::queryFormats( 'AVIF' ) ), 137 'heic' => ! empty( Imagick::queryFormats( 'HEIC' ) ), 136 138 ) 137 139 )
Note: See TracChangeset
for help on using the changeset viewer.