Administration: Consistently escape network_admin_url() links.

Follow-up to [51177].

Props chintan1896, mukesh27.
Fixes #53459.
Built from https://develop.svn.wordpress.org/trunk@51189


git-svn-id: http://core.svn.wordpress.org/trunk@50798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2021-06-21 04:30:56 +00:00
parent ca5f990078
commit 19f8ac491d
9 changed files with 11 additions and 11 deletions

View File

@@ -88,7 +88,7 @@ if ( 'grid' === $mode ) {
if ( current_user_can( 'upload_files' ) ) {
?>
<a href="<?php echo esc_url( admin_url( 'media-new.php' ) ); ?>" class="page-title-action aria-button-if-js"><?php echo esc_html_x( 'Add New', 'file' ); ?></a>
<?php
<?php
}
?>