Make WordPress Core

Ticket #59200: 59200.patch

File 59200.patch, 735 bytes (added by pitamdey, 22 months ago)

After applying this solution the issue resolved

  • wp-activate.php

     
    128128        <?php if ( ! $key ) { ?>
    129129
    130130                <h2><?php _e( 'Activation Key Required' ); ?></h2>
    131                 <form name="activateform" id="activateform" method="post" action="<?php echo network_site_url( $blog_details->path . 'wp-activate.php' ); ?>">
     131                <form name="activateform" id="activateform" method="post" action="<?php echo esc_url( network_site_url( $blog_details->path . 'wp-activate.php' ) ); ?>">
    132132                        <p>
    133133                                <label for="key"><?php _e( 'Activation Key:' ); ?></label>
    134134                                <br /><input type="text" name="key" id="key" value="" size="50" autofocus="autofocus" />