mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-19 21:15:23 +00:00
Twenty Twenty-One: Use esc_url()
for the WordPress.org link in footer.php
.
Props mukesh27, poena. Merges [49762] into the 5.6 branch. Fixes #51954. Built from https://develop.svn.wordpress.org/branches/5.6@49853 git-svn-id: http://core.svn.wordpress.org/branches/5.6@49572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f87036bf28
commit
9ef2645fd7
@ -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 -->
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.6.1-alpha-49852';
|
||||
$wp_version = '5.6.1-alpha-49853';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user