Fixes funky category checkbox spacing in IE

git-svn-id: https://develop.svn.wordpress.org/trunk@4515 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2006-11-22 06:04:09 +00:00
parent 608fd4e44f
commit 6e2b05df30
1 changed files with 1 additions and 1 deletions

View File

@ -649,7 +649,7 @@ function get_nested_categories( $default = 0, $parent = 0 ) {
function write_nested_categories( $categories ) {
foreach ( $categories as $category ) {
echo '<li id="category-', $category['cat_ID'], '"><label for="in-category-', $category['cat_ID'], '" class="selectit"><input value="', $category['cat_ID'], '" type="checkbox" name="post_category[]" id="in-category-', $category['cat_ID'], '"', ($category['checked'] ? ' checked="checked"' : "" ), '/> ', wp_specialchars( $category['cat_name'] ), "</label></li>\n";
echo '<li id="category-', $category['cat_ID'], '"><label for="in-category-', $category['cat_ID'], '" class="selectit"><input value="', $category['cat_ID'], '" type="checkbox" name="post_category[]" id="in-category-', $category['cat_ID'], '"', ($category['checked'] ? ' checked="checked"' : "" ), '/> ', wp_specialchars( $category['cat_name'] ), "</label></li>";
if ( $category['children'] ) {
echo "<ul>\n";