Make WordPress Core


Ignore:
Timestamp:
04/26/2024 03:00:03 PM (19 months ago)
Author:
adamsilverstein
Message:

Media: fix potential error in class-avif-info.php::get_item_features().

Import upstream fix from libavifinfo, correcting a potential fatal error.

Props yguyon.
Fixes #60980.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions.php

    r57987 r58049  
    15231523                    IMAGETYPE_AVIF,
    15241524                    'width="128" height="128"',
     1525                    'mime' => 'image/avif',
     1526                ),
     1527            ),
     1528            // Grid AVIF.
     1529            array(
     1530                DIR_TESTDATA . '/images/avif-alpha-grid2x1.avif',
     1531                array(
     1532                    199,
     1533                    200,
     1534                    IMAGETYPE_AVIF,
     1535                    'width="199" height="200"',
    15251536                    'mime' => 'image/avif',
    15261537                ),
Note: See TracChangeset for help on using the changeset viewer.