esc_url_raw() when doing urlencode()

git-svn-id: https://develop.svn.wordpress.org/trunk@17584 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2011-04-01 19:35:38 +00:00
parent cb873824ee
commit 5d9e489b0c
1 changed files with 1 additions and 1 deletions

View File

@ -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>