Strip and texturize importer title. Props Nazgul. fixes #2897
git-svn-id: http://svn.automattic.com/wordpress/trunk@3986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
42557940a1
commit
9639c8a968
|
@ -36,7 +36,7 @@ if (empty ($importers)) {
|
||||||
$style = '';
|
$style = '';
|
||||||
foreach ($importers as $id => $data) {
|
foreach ($importers as $id => $data) {
|
||||||
$style = ('class="alternate"' == $style || 'class="alternate active"' == $style) ? '' : 'alternate';
|
$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 != '')
|
if ($style != '')
|
||||||
$style = 'class="'.$style.'"';
|
$style = 'class="'.$style.'"';
|
||||||
|
|
Loading…
Reference in New Issue