Changeset 51474 for trunk/src/wp-includes/compat.php
- Timestamp:
- 07/22/2021 01:06:55 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/compat.php
r50814 r51474 372 372 } 373 373 374 // WebP constants are only defined in PHP 7.1+.374 // IMAGETYPE_WEBP constant is only defined in PHP 7.1 or later. 375 375 if ( ! defined( 'IMAGETYPE_WEBP' ) ) { 376 376 define( 'IMAGETYPE_WEBP', 18 ); 377 377 } 378 379 // IMG_WEBP constant is only defined in PHP 7.0.10 or later. 378 380 if ( ! defined( 'IMG_WEBP' ) ) { 379 381 define( 'IMG_WEBP', IMAGETYPE_WEBP ); // phpcs:ignore PHPCompatibility.Constants.NewConstants.imagetype_webpFound
Note: See TracChangeset
for help on using the changeset viewer.