Consistently link to proifiles.wordpress.org/%user/

See https://meta.trac.wordpress.org/ticket/5810
This commit is contained in:
Dion Hulse 2021-12-15 17:19:25 +10:00 committed by GitHub
parent 145047cafa
commit e49ee6bf94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,7 +118,7 @@ get_header();
<?php foreach ( $contributors as $contributor ) : ?>
<li class="pledge-contributor">
<span class="pledge-contributor__avatar">
<a href="<?php echo esc_url( 'https://profiles.wordpress.org/' . $contributor->user_nicename ); ?> ">
<a href="<?php echo esc_url( 'https://profiles.wordpress.org/' . $contributor->user_nicename . '/' ); ?>">
<?php echo get_avatar( $contributor->user_email, 280, 'mystery', $contributor->display_name ); ?>
</a>
</span>