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/site-new.php

    r49127 r51189  
    202202?>
    203203</p>
    204 <form method="post" action="<?php echo network_admin_url( 'site-new.php?action=add-site' ); ?>" novalidate="novalidate">
     204<form method="post" action="<?php echo esc_url( network_admin_url( 'site-new.php?action=add-site' ) ); ?>" novalidate="novalidate">
    205205<?php wp_nonce_field( 'add-blog', '_wpnonce_add-blog' ); ?>
    206206    <table class="form-table" role="presentation">
Note: See TracChangeset for help on using the changeset viewer.