WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/18/2009 04:00:33 PM (12 years ago)
Author:
markjaquith
Message:

Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r11380 r11383  
    121121<?php wp_nonce_field('update-user_' . $user_id) ?>
    122122<?php if ( $wp_http_referer ) : ?>
    123     <input type="hidden" name="wp_http_referer" value="<?php echo clean_url($wp_http_referer); ?>" />
     123    <input type="hidden" name="wp_http_referer" value="<?php echo esc_url($wp_http_referer); ?>" />
    124124<?php endif; ?>
    125125<p>
Note: See TracChangeset for help on using the changeset viewer.