mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-21 16:22:44 +00:00
Upgrade/Install: Add missing escaping function for get_option( 'home' ) in upgrade.php.
Props dilipbheda. Fixes #59199. git-svn-id: https://develop.svn.wordpress.org/trunk@56473 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e0e36e63fe
commit
7f38f687c4
@ -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 ) :
|
||||
|
||||
Loading…
Reference in New Issue
Block a user