Coding Standards: Fix WPCS issues in get_avatar_data().

Follow-up to [59532].

See #60638.
Built from https://develop.svn.wordpress.org/trunk@59533


git-svn-id: http://core.svn.wordpress.org/trunk@58919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-12-18 00:25:29 +00:00
parent d427228024
commit f176b759f8
2 changed files with 3 additions and 3 deletions

View File

@ -4500,7 +4500,7 @@ function get_avatar_data( $id_or_email, $args = null ) {
if ( str_contains( $id_or_email, '@sha256.gravatar.com' ) ) { if ( str_contains( $id_or_email, '@sha256.gravatar.com' ) ) {
// SHA-256 hash. // SHA-256 hash.
list( $email_hash ) = explode( '@', $id_or_email ); list( $email_hash ) = explode( '@', $id_or_email );
} else if ( str_contains( $id_or_email, '@md5.gravatar.com' ) ) { } elseif ( str_contains( $id_or_email, '@md5.gravatar.com' ) ) {
// MD5 hash. // MD5 hash.
list( $email_hash ) = explode( '@', $id_or_email ); list( $email_hash ) = explode( '@', $id_or_email );
} else { } else {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.8-alpha-59532'; $wp_version = '6.8-alpha-59533';
/** /**
* 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.