esc_url_raw() when doing urlencode()
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b21b855c52
commit
bc052a10bf
|
@ -73,7 +73,7 @@ $mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>='
|
||||||
switch ( $step ) :
|
switch ( $step ) :
|
||||||
case 0:
|
case 0:
|
||||||
$goback = stripslashes( wp_get_referer() );
|
$goback = stripslashes( wp_get_referer() );
|
||||||
$goback = esc_url( $goback );
|
$goback = esc_url_raw( $goback );
|
||||||
$goback = urlencode( $goback );
|
$goback = urlencode( $goback );
|
||||||
?>
|
?>
|
||||||
<h2><?php _e( 'Database Update Required' ); ?></h2>
|
<h2><?php _e( 'Database Update Required' ); ?></h2>
|
||||||
|
|
Loading…
Reference in New Issue