Coding standards: Properly escape URLs returned by self_admin_url() calls.

This address some other echoed instances missed by [53839].

Fixes #56329.


git-svn-id: https://develop.svn.wordpress.org/trunk@53840 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras
2022-08-05 06:10:04 +00:00
parent ad03949f7b
commit 60284ca751
2 changed files with 4 additions and 4 deletions

View File

@@ -827,7 +827,7 @@ function install_plugin_information() {
printf(
/* translators: %s: URL to WordPress Updates screen. */
' ' . __( '<a href="%s" target="_parent">Click here to update WordPress</a>.' ),
self_admin_url( 'update-core.php' )
esc_url( self_admin_url( 'update-core.php' ) )
);
}
echo '</p></div>';