Upgrade/Install: Add missing escaping function for `get_option( 'home' )` in `upgrade.php`.
Props dilipbheda. Fixes #59199. Built from https://develop.svn.wordpress.org/trunk@56473 git-svn-id: http://core.svn.wordpress.org/trunk@55985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1b245d9568
commit
108b9f8ddb
|
@ -72,7 +72,7 @@ header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option
|
|||
|
||||
<h1><?php _e( 'No Update Required' ); ?></h1>
|
||||
<p><?php _e( 'Your WordPress database is already up to date!' ); ?></p>
|
||||
<p class="step"><a class="button button-large" href="<?php echo get_option( 'home' ); ?>/"><?php _e( 'Continue' ); ?></a></p>
|
||||
<p class="step"><a class="button button-large" href="<?php echo esc_url( get_option( 'home' ) ); ?>/"><?php _e( 'Continue' ); ?></a></p>
|
||||
|
||||
<?php
|
||||
elseif ( ! $php_compat || ! $mysql_compat ) :
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.4-alpha-56472';
|
||||
$wp_version = '6.4-alpha-56473';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue