Make WordPress Core


Ignore:
Timestamp:
06/21/2021 04:29:18 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Administration: Consistently escape network_admin_url() links.

Follow-up to [51177].

Props chintan1896, mukesh27.
Fixes #53459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/user-new.php

    r50556 r51189  
    123123    </div>
    124124<?php } ?>
    125     <form action="<?php echo network_admin_url( 'user-new.php?action=add-user' ); ?>" id="adduser" method="post" novalidate="novalidate">
     125    <form action="<?php echo esc_url( network_admin_url( 'user-new.php?action=add-user' ) ); ?>" id="adduser" method="post" novalidate="novalidate">
    126126    <table class="form-table" role="presentation">
    127127        <tr class="form-field form-required">
Note: See TracChangeset for help on using the changeset viewer.