pass incoming Technorati links through wptexturize(). Props Nazgul. fixes: #2856
git-svn-id: https://develop.svn.wordpress.org/trunk@4295 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d63bbe60c1
commit
206311948c
|
@ -26,7 +26,7 @@ if ( isset($rss->items) && 0 != count($rss->items) ) {
|
|||
$rss->items = array_slice($rss->items, 0, 10);
|
||||
foreach ($rss->items as $item ) {
|
||||
?>
|
||||
<li><a href="<?php echo wp_filter_kses($item['link']); ?>"><?php echo wp_specialchars($item['title']); ?></a></li>
|
||||
<li><a href="<?php echo wp_filter_kses($item['link']); ?>"><?php echo wptexturize(wp_specialchars($item['title'])); ?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue