Changeset 59140
- Timestamp:
- 09/30/2024 10:31:35 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/update.php
r59018 r59140 116 116 $gd_info = array_filter( $gd_info ); 117 117 118 // Add data for GD WebP, AVIF and HEICsupport.118 // Add data for GD WebP, AVIF, HEIC and JPEG XL support. 119 119 $query['image_support']['gd'] = array_keys( 120 120 array_filter( … … 123 123 'avif' => isset( $gd_info['AVIF Support'] ), 124 124 'heic' => isset( $gd_info['HEIC Support'] ), 125 'jxl' => isset( $gd_info['JXL Support'] ), 125 126 ) 126 127 ) … … 129 130 130 131 if ( class_exists( 'Imagick' ) ) { 131 // Add data for Imagick WebP, AVIF and HEICsupport.132 // Add data for Imagick WebP, AVIF, HEIC and JPEG XL support. 132 133 $query['image_support']['imagick'] = array_keys( 133 134 array_filter( … … 136 137 'avif' => ! empty( Imagick::queryFormats( 'AVIF' ) ), 137 138 'heic' => ! empty( Imagick::queryFormats( 'HEIC' ) ), 139 'jxl' => ! empty( Imagick::queryFormats( 'JXL' ) ), 138 140 ) 139 141 )
Note: See TracChangeset
for help on using the changeset viewer.