WordPress.org

Make WordPress Core

Changeset 17582


Ignore:
Timestamp:
04/01/2011 07:29:06 PM (7 years ago)
Author:
ryan
Message:

s/esc_url_raw/esc_url/. Props duck_.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upgrade.php

    r16823 r17582  
    7474    case 0:
    7575        $goback = stripslashes( wp_get_referer() );
    76         $goback = esc_url_raw( $goback );
     76        $goback = esc_url( $goback );
    7777        $goback = urlencode( $goback );
    7878?>
     
    8787
    8888            $backto = !empty($_GET['backto']) ? stripslashes( urldecode( $_GET['backto'] ) ) :  __get_option( 'home' ) . '/';
    89             $backto = esc_url_raw( $backto );
     89            $backto = esc_url( $backto );
    9090            $backto = wp_validate_redirect($backto, __get_option( 'home' ) . '/');
    9191?>
  • trunk/wp-includes/link-template.php

    r17518 r17582  
    24142414        return;
    24152415
    2416     echo "<link rel='shortlink' href='" . esc_url_raw( $shortlink ) . "' />\n";
     2416    echo "<link rel='shortlink' href='" . esc_url( $shortlink ) . "' />\n";
    24172417}
    24182418
Note: See TracChangeset for help on using the changeset viewer.