From dfe1f0d1307aef15b03fade1ef6a575eccbb8bef Mon Sep 17 00:00:00 2001 From: Felix Arntz Date: Mon, 2 Oct 2023 20:14:21 +0000 Subject: [PATCH] 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 --- wp-includes/pluggable.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 35a27fcfd6..a341ee1f29 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -2845,6 +2845,7 @@ if ( ! function_exists( 'get_avatar' ) ) : 'loading' => null, 'fetchpriority' => null, 'extra_attr' => '', + 'decoding' => null, ); if ( empty( $args ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index a012de805a..dad462e17d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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.