Skip to content

Commit

Permalink
Media: Prevent PHP notice in get_avatar().
Browse files Browse the repository at this point in the history
Follow up fix to [56690].

Props pereirinha, mukesh27, spacedmonkey.
Fixes #58892.


git-svn-id: https://develop.svn.wordpress.org/trunk@56756 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
felixarntz committed Oct 2, 2023
1 parent 1d0876b commit bc259dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wp-includes/pluggable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2845,6 +2845,7 @@ function get_avatar( $id_or_email, $size = 96, $default_value = '', $alt = '', $
'loading' => null,
'fetchpriority' => null,
'extra_attr' => '',
'decoding' => null,
);

if ( empty( $args ) ) {
Expand Down

0 comments on commit bc259dd

Please sign in to comment.