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:
@@ -122,7 +122,7 @@ if ( isset( $add_user_errors ) && is_wp_error( $add_user_errors ) ) {
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<form action="<?php echo network_admin_url( 'user-new.php?action=add-user' ); ?>" id="adduser" method="post" novalidate="novalidate">
|
||||
<form action="<?php echo esc_url( network_admin_url( 'user-new.php?action=add-user' ) ); ?>" id="adduser" method="post" novalidate="novalidate">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr class="form-field form-required">
|
||||
<th scope="row"><label for="username"><?php _e( 'Username' ); ?></label></th>
|
||||
|
||||
Reference in New Issue
Block a user