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:
nacin 2011-04-05 16:22:46 +00:00
parent 503c727207
commit 3c25793f2f
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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";
}
/**