diff --git a/src/wp-content/themes/twentytwentyone/footer.php b/src/wp-content/themes/twentytwentyone/footer.php
index 735aa09989..63ecd99ac0 100644
--- a/src/wp-content/themes/twentytwentyone/footer.php
+++ b/src/wp-content/themes/twentytwentyone/footer.php
@@ -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 -->