mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Twenty Twenty-One: Use esc_url()
for the WordPress.org link in footer.php
.
Props mukesh27, poena. Fixes #51954. git-svn-id: https://develop.svn.wordpress.org/trunk@49762 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
92f14987fb
commit
175b23e00a
@ -58,7 +58,7 @@
|
||||
printf(
|
||||
/* translators: %s: WordPress. */
|
||||
esc_html__( 'Proudly powered by %s.', 'twentytwentyone' ),
|
||||
'<a href="' . esc_attr__( 'https://wordpress.org/', 'twentytwentyone' ) . '">WordPress</a>'
|
||||
'<a href="' . esc_url( __( 'https://wordpress.org/', 'twentytwentyone' ) ) . '">WordPress</a>'
|
||||
);
|
||||
?>
|
||||
</div><!-- .powered-by -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user