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/admin-ajax.php

    r11380 r11383  
    133133    $per_page = (int) @$_POST['_per_page'];
    134134    $page = (int) @$_POST['_page'];
    135     $url = clean_url( @$_POST['_url'], null, 'url' );
     135    $url = esc_url_raw( @$_POST['_url'] );
    136136    // JS didn't send us everything we need to know. Just die with success message
    137137    if ( !$total || !$per_page || !$page || !$url )
Note: See TracChangeset for help on using the changeset viewer.