mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +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:
@@ -1001,7 +1001,7 @@ function get_links($category = -1, $before = '', $after = '<br />', $between = '
|
||||
$output .= get_option('links_recently_updated_prepend');
|
||||
$the_link = '#';
|
||||
if ( !empty($row->link_url) )
|
||||
$the_link = clean_url($row->link_url);
|
||||
$the_link = esc_url($row->link_url);
|
||||
$rel = $row->link_rel;
|
||||
if ( '' != $rel )
|
||||
$rel = ' rel="' . $rel . '"';
|
||||
|
||||
Reference in New Issue
Block a user