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

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

Reviewed by jorbin.
Merges [58049] to the 6.5 branch.

Props yguyon.
Fixes #60980.


Built from https://develop.svn.wordpress.org/branches/6.5@58050


git-svn-id: http://core.svn.wordpress.org/branches/6.5@57515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Adam Silverstein 2024-04-26 15:27:13 +00:00
parent a4e4498d9f
commit 899608b6be
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ class Features {
if ( $tile->parent_item_id != $target_item_id ) {
continue;
}
$status = get_item_features( $tile->tile_item_id, $tile_depth + 1 );
$status = $this->get_item_features( $tile->tile_item_id, $tile_depth + 1 );
if ( $status != NOT_FOUND ) {
return $status;
}

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.5.3-alpha-58043';
$wp_version = '6.5.3-alpha-58050';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.