Missing quote.
git-svn-id: http://svn.automattic.com/wordpress/trunk@605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
641865d381
commit
18407cfa16
|
@ -676,9 +676,9 @@ function dropdown_categories($default = 0) {
|
||||||
foreach($categories as $category) {
|
foreach($categories as $category) {
|
||||||
++$i;
|
++$i;
|
||||||
$category->cat_name = stripslashes($category->cat_name);
|
$category->cat_name = stripslashes($category->cat_name);
|
||||||
echo "<label for='category-$i' class='selectit'><input value='$category->cat_ID' type='checkbox' name='post_category[] ' id='category-$i'";
|
echo "\n<label for='category-$i' class='selectit'><input value='$category->cat_ID' type='checkbox' name='post_category[]' id='category-$i'";
|
||||||
if ($postcategories && in_array($category->cat_ID, $postcategories))
|
if ($postcategories && in_array($category->cat_ID, $postcategories))
|
||||||
echo " checked='checked'";
|
echo ' checked="checked"';
|
||||||
echo " /> $category->cat_name</label> ";
|
echo " /> $category->cat_name</label> ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue