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:
desrosj 2020-12-21 13:54:03 +00:00
parent f87036bf28
commit 9ef2645fd7
2 changed files with 2 additions and 2 deletions

View File

@ -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 -->

View File

@ -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.