Changeset 17582
- Timestamp:
- 04/01/2011 07:29:06 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upgrade.php
r16823 r17582 74 74 case 0: 75 75 $goback = stripslashes( wp_get_referer() ); 76 $goback = esc_url _raw( $goback );76 $goback = esc_url( $goback ); 77 77 $goback = urlencode( $goback ); 78 78 ?> … … 87 87 88 88 $backto = !empty($_GET['backto']) ? stripslashes( urldecode( $_GET['backto'] ) ) : __get_option( 'home' ) . '/'; 89 $backto = esc_url _raw( $backto );89 $backto = esc_url( $backto ); 90 90 $backto = wp_validate_redirect($backto, __get_option( 'home' ) . '/'); 91 91 ?> -
trunk/wp-includes/link-template.php
r17518 r17582 2414 2414 return; 2415 2415 2416 echo "<link rel='shortlink' href='" . esc_url _raw( $shortlink ) . "' />\n";2416 echo "<link rel='shortlink' href='" . esc_url( $shortlink ) . "' />\n"; 2417 2417 } 2418 2418
Note: See TracChangeset
for help on using the changeset viewer.