Fixes funky category checkbox spacing in IE
git-svn-id: http://svn.automattic.com/wordpress/trunk@4515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
16998c6bb3
commit
912d2af84f
|
@ -649,7 +649,7 @@ function get_nested_categories( $default = 0, $parent = 0 ) {
|
||||||
|
|
||||||
function write_nested_categories( $categories ) {
|
function write_nested_categories( $categories ) {
|
||||||
foreach ( $categories as $category ) {
|
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'] ) {
|
if ( $category['children'] ) {
|
||||||
echo "<ul>\n";
|
echo "<ul>\n";
|
||||||
|
|
Loading…
Reference in New Issue