mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Administration: Consistently escape network_admin_url() links.
Follow-up to [51177]. Props chintan1896, mukesh27. Fixes #53459. git-svn-id: https://develop.svn.wordpress.org/trunk@51189 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -273,8 +273,8 @@ if ( isset( $_REQUEST['updated'] ) && 'true' == $_REQUEST['updated'] && ! empty(
|
||||
<?php
|
||||
if ( current_user_can( 'create_users' ) ) :
|
||||
?>
|
||||
<a href="<?php echo network_admin_url( 'user-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user' ); ?></a>
|
||||
<?php
|
||||
<a href="<?php echo esc_url( network_admin_url( 'user-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user' ); ?></a>
|
||||
<?php
|
||||
endif;
|
||||
|
||||
if ( strlen( $usersearch ) ) {
|
||||
|
||||
Reference in New Issue
Block a user