Skip to content

Commit

Permalink
Coding Standards: Add missing escaping in wp-activate.php.
Browse files Browse the repository at this point in the history
Follow-up to [13884].

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

git-svn-id: https://develop.svn.wordpress.org/trunk@57158 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Dec 4, 2023
1 parent c44432b commit 7f0b940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-activate.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function wpmu_activate_stylesheet() {
<?php if ( ! $key ) { ?>

<h2><?php _e( 'Activation Key Required' ); ?></h2>
<form name="activateform" id="activateform" method="post" action="<?php echo network_site_url( $blog_details->path . 'wp-activate.php' ); ?>">
<form name="activateform" id="activateform" method="post" action="<?php echo esc_url( network_site_url( $blog_details->path . 'wp-activate.php' ) ); ?>">
<p>
<label for="key"><?php _e( 'Activation Key:' ); ?></label>
<br /><input type="text" name="key" id="key" value="" size="50" autofocus="autofocus" />
Expand Down

0 comments on commit 7f0b940

Please sign in to comment.