Twenty Twenty-One: Use `esc_url()` for the WordPress.org link in `footer.php`.
Props mukesh27, poena. Fixes #51954. Built from https://develop.svn.wordpress.org/trunk@49762 git-svn-id: http://core.svn.wordpress.org/trunk@49485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2095631176
commit
12ce5683ab
|
@ -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.7-alpha-49761';
|
||||
$wp_version = '5.7-alpha-49762';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue