s/esc_url_raw/esc_url/. props duck_. for the 3.0 branch
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@17601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
503c727207
commit
3c25793f2f
|
@ -86,7 +86,7 @@ switch ( $step ) :
|
|||
wp_upgrade();
|
||||
|
||||
$backto = !empty($_GET['backto']) ? stripslashes( urldecode( $_GET['backto'] ) ) : __get_option( 'home' ) . '/';
|
||||
$backto = esc_url_raw( $backto );
|
||||
$backto = esc_url( $backto );
|
||||
$backto = wp_validate_redirect($backto, __get_option( 'home' ) . '/');
|
||||
?>
|
||||
<h2><?php _e( 'Upgrade Complete' ); ?></h2>
|
||||
|
|
|
@ -2215,7 +2215,7 @@ function wp_shortlink_wp_head() {
|
|||
if ( empty( $shortlink ) )
|
||||
return;
|
||||
|
||||
echo "<link rel='shortlink' href='" . esc_url_raw( $shortlink ) . "' />\n";
|
||||
echo "<link rel='shortlink' href='" . esc_url( $shortlink ) . "' />\n";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue