mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 11:03:43 +03:00
Theme: Link to profile slugs to avoid 404s.
This commit is contained in:
parent
38fe19036d
commit
0c250daa7d
|
@ -102,7 +102,7 @@ get_header(); ?>
|
||||||
'<a class="pledge-contributor__name" href="%1$s">%2$s</a>',
|
'<a class="pledge-contributor__name" href="%1$s">%2$s</a>',
|
||||||
sprintf(
|
sprintf(
|
||||||
'https://profiles.wordpress.org/%s/',
|
'https://profiles.wordpress.org/%s/',
|
||||||
sanitize_key( $contributor->user_login ) // phpcs:ignore WordPress.Security.EscapeOutput -- sanitize_key will catch any security issues.
|
sanitize_key( $contributor->user_nicename ) // phpcs:ignore WordPress.Security.EscapeOutput -- sanitize_key will catch any security issues.
|
||||||
),
|
),
|
||||||
esc_html( $contributor->display_name )
|
esc_html( $contributor->display_name )
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue