Coding Standards: Consistently escape form action URL in `wp-admin/update-core.php`.
Follow-up to [10166], [23739], [25806]. Props sabbirshouvo, mukesh27. Fixes #54278. Built from https://develop.svn.wordpress.org/trunk@51914 git-svn-id: http://core.svn.wordpress.org/trunk@51507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8447683474
commit
cea5785cdb
|
@ -154,7 +154,7 @@ function list_core_update( $update ) {
|
|||
echo $message;
|
||||
echo '</p>';
|
||||
|
||||
echo '<form method="post" action="' . $form_action . '" name="upgrade" class="upgrade">';
|
||||
echo '<form method="post" action="' . esc_url( $form_action ) . '" name="upgrade" class="upgrade">';
|
||||
wp_nonce_field( 'upgrade-core' );
|
||||
|
||||
echo '<p>';
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-51913';
|
||||
$wp_version = '5.9-alpha-51914';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue