Media: Prevent PHP notice in get_avatar().

Follow up fix to [56690].

Props pereirinha, mukesh27, spacedmonkey.
Fixes #58892.

Built from https://develop.svn.wordpress.org/trunk@56756


git-svn-id: http://core.svn.wordpress.org/trunk@56268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Felix Arntz 2023-10-02 20:14:21 +00:00
parent ddc07c4598
commit dfe1f0d130
2 changed files with 2 additions and 1 deletions

View File

@ -2845,6 +2845,7 @@ if ( ! function_exists( 'get_avatar' ) ) :
'loading' => null, 'loading' => null,
'fetchpriority' => null, 'fetchpriority' => null,
'extra_attr' => '', 'extra_attr' => '',
'decoding' => null,
); );
if ( empty( $args ) ) { if ( empty( $args ) ) {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.4-beta1-56755'; $wp_version = '6.4-beta1-56756';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.