Make WordPress Core


Ignore:
Timestamp:
05/18/2009 04:00:33 PM (17 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/update-core.php

    r11273 r11383  
    4545        echo '<input name="version" value="'. esc_attr($update->current) .'" type="hidden"/>';
    4646        echo '<input name="locale" value="'. esc_attr($update->locale) .'" type="hidden"/>';
    47         echo '<a href="' . clean_url($update->package) . '" class="button">' . $download . '</a>&nbsp;';
     47        echo '<a href="' . esc_url($update->package) . '" class="button">' . $download . '</a>&nbsp;';
    4848        if ( 'en_US' != $update->locale )
    4949                if ( !isset( $update->dismissed ) || !$update->dismissed )
Note: See TracChangeset for help on using the changeset viewer.