mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-24 01:57:53 +01:00
Escape amps in links manager links - http://priyadi.net/archives/2005/02/25/wordpress-15-bugs/
git-svn-id: http://svn.automattic.com/wordpress/trunk@2382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0e74c2524b
commit
ee0bee021f
@ -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