More special chars. encoding.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1464a3364f
commit
aa16c88414
|
@ -28,7 +28,7 @@ function category_dropdown($fieldname, $selected = 0) {
|
||||||
echo "\n\t<option value='$row->cat_id'";
|
echo "\n\t<option value='$row->cat_id'";
|
||||||
if ($row->cat_id == $selected)
|
if ($row->cat_id == $selected)
|
||||||
echo " selected='selected'";
|
echo " selected='selected'";
|
||||||
echo ">$row->cat_id: $row->cat_name";
|
echo ">$row->cat_id: ".htmlspecialchars($row->cat_name);
|
||||||
if ('Y' == $row->auto_toggle)
|
if ('Y' == $row->auto_toggle)
|
||||||
echo ' (auto toggle)';
|
echo ' (auto toggle)';
|
||||||
echo "</option>\n";
|
echo "</option>\n";
|
||||||
|
@ -627,7 +627,7 @@ function checkAll(form)
|
||||||
echo " <option value=\"".$row->cat_id."\"";
|
echo " <option value=\"".$row->cat_id."\"";
|
||||||
if ($row->cat_id == $cat_id)
|
if ($row->cat_id == $cat_id)
|
||||||
echo " selected='selected'";
|
echo " selected='selected'";
|
||||||
echo ">".$row->cat_id.": ".$row->cat_name;
|
echo ">".$row->cat_id.": ".htmlspecialchars($row->cat_name);
|
||||||
if ($row->auto_toggle == 'Y')
|
if ($row->auto_toggle == 'Y')
|
||||||
echo ' (auto toggle)';
|
echo ' (auto toggle)';
|
||||||
echo "</option>\n";
|
echo "</option>\n";
|
||||||
|
|
Loading…
Reference in New Issue