Strip and texturize importer title. Props Nazgul. fixes #2897
git-svn-id: https://develop.svn.wordpress.org/trunk@3986 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0b25954d38
commit
0b8a2fb212
@ -36,7 +36,7 @@ if (empty ($importers)) {
|
||||
$style = '';
|
||||
foreach ($importers as $id => $data) {
|
||||
$style = ('class="alternate"' == $style || 'class="alternate active"' == $style) ? '' : 'alternate';
|
||||
$action = "<a href='admin.php?import=$id' title='{$data[1]}'>{$data[0]}</a>";
|
||||
$action = "<a href='admin.php?import=$id' title='".wptexturize(strip_tags($data[1]))."'>{$data[0]}</a>";
|
||||
|
||||
if ($style != '')
|
||||
$style = 'class="'.$style.'"';
|
||||
|
Loading…
Reference in New Issue
Block a user