Escape amps in links manager links - http://priyadi.net/archives/2005/02/25/wordpress-15-bugs/
git-svn-id: https://develop.svn.wordpress.org/trunk@2382 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
946e39cea1
commit
1fb1868801
@ -175,9 +175,8 @@ function get_links($category = -1, $before = '', $after = '<br />',
|
||||
echo get_settings('links_recently_updated_prepend');
|
||||
}
|
||||
$the_link = '#';
|
||||
if (($row->link_url != null) && ($row->link_url != '')) {
|
||||
$the_link = $row->link_url;
|
||||
}
|
||||
if ( !empty($row->link_url) )
|
||||
$the_link = wp_specialchars($row->link_url);
|
||||
$rel = $row->link_rel;
|
||||
if ($rel != '') {
|
||||
$rel = " rel='$rel'";
|
||||
|
Loading…
Reference in New Issue
Block a user