WordPress.org

Make WordPress Core

Changeset 17601


Ignore:
Timestamp:
04/05/11 16:22:46 (4 years ago)
Author:
nacin
Message:

s/esc_url_raw/esc_url/. props duck_. for the 3.0 branch

Location:
branches/3.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-admin/upgrade.php

    r15146 r17601  
    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?> 
  • branches/3.0/wp-includes/link-template.php

    r15412 r17601  
    22162216        return; 
    22172217 
    2218     echo "<link rel='shortlink' href='" . esc_url_raw( $shortlink ) . "' />\n"; 
     2218    echo "<link rel='shortlink' href='" . esc_url( $shortlink ) . "' />\n"; 
    22192219} 
    22202220 
Note: See TracChangeset for help on using the changeset viewer.