Make WordPress Core

Changeset 57158


Ignore:
Timestamp:
12/04/2023 10:05:51 PM (6 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Add missing escaping in wp-activate.php.

Follow-up to [13884].

Props dilipbheda, mukesh27, pitamdey, nareshbheda.
Fixes #59200.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-activate.php

    r55753 r57158  
    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>
Note: See TracChangeset for help on using the changeset viewer.