mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
esc_url_raw() when doing urlencode()
git-svn-id: https://develop.svn.wordpress.org/branches/3.1@17585 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5a20a10d39
commit
b0618c7cb9
@ -73,7 +73,7 @@ $mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>='
|
||||
switch ( $step ) :
|
||||
case 0:
|
||||
$goback = stripslashes( wp_get_referer() );
|
||||
$goback = esc_url( $goback );
|
||||
$goback = esc_url_raw( $goback );
|
||||
$goback = urlencode( $goback );
|
||||
?>
|
||||
<h2><?php _e( 'Database Update Required' ); ?></h2>
|
||||
|
Loading…
x
Reference in New Issue
Block a user