mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -44,7 +44,7 @@ function list_core_update( $update ) {
|
||||
echo '<input id="upgrade" class="button" type="submit" value="' . esc_attr($submit) . '" name="upgrade" /> ';
|
||||
echo '<input name="version" value="'. esc_attr($update->current) .'" type="hidden"/>';
|
||||
echo '<input name="locale" value="'. esc_attr($update->locale) .'" type="hidden"/>';
|
||||
echo '<a href="' . clean_url($update->package) . '" class="button">' . $download . '</a> ';
|
||||
echo '<a href="' . esc_url($update->package) . '" class="button">' . $download . '</a> ';
|
||||
if ( 'en_US' != $update->locale )
|
||||
if ( !isset( $update->dismissed ) || !$update->dismissed )
|
||||
echo '<input id="dismiss" class="button" type="submit" value="' . esc_attr__('Hide this update') . '" name="dismiss" />';
|
||||
|
||||
Reference in New Issue
Block a user