mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00: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…
Reference in New Issue
Block a user