mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
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:
parent
d427228024
commit
f176b759f8
@ -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 {
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user