From 4210bfdbb29943a22a6e62ad35246927b8d054cc Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 19 Dec 2024 03:44:24 +0000 Subject: [PATCH] Privacy: Replace hardcoded MD5 references in `wp_credits_section_list()`. The Credits API has been updated to return SHA-256 email hashes. Follow-up to [59532], [meta14307]. Props haozi. Fixes #62706, #60638. Built from https://develop.svn.wordpress.org/trunk@59541 git-svn-id: http://core.svn.wordpress.org/trunk@58927 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/credits.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/credits.php b/wp-admin/includes/credits.php index 1ad2a37c2b..79b2a0b46c 100644 --- a/wp-admin/includes/credits.php +++ b/wp-admin/includes/credits.php @@ -147,8 +147,8 @@ function wp_credits_section_list( $credits = array(), $slug = '' ) { echo '
  • ' . "\n\t"; echo ''; $size = $compact ? 80 : 160; - $data = get_avatar_data( $person_data[1] . '@md5.gravatar.com', array( 'size' => $size ) ); - $data2x = get_avatar_data( $person_data[1] . '@md5.gravatar.com', array( 'size' => $size * 2 ) ); + $data = get_avatar_data( $person_data[1] . '@sha256.gravatar.com', array( 'size' => $size ) ); + $data2x = get_avatar_data( $person_data[1] . '@sha256.gravatar.com', array( 'size' => $size * 2 ) ); echo '' . "\n"; echo esc_html( $person_data[0] ) . "\n\t"; if ( ! $compact && ! empty( $person_data[3] ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index aa5bb24308..1da87f0737 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59540'; +$wp_version = '6.8-alpha-59541'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.