WordPress.org

Make WordPress Core

Changeset 4515


Ignore:
Timestamp:
11/22/06 06:04:09 (7 years ago)
Author:
matt
Message:

Fixes funky category checkbox spacing in IE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r4495 r4515  
    650650function write_nested_categories( $categories ) { 
    651651    foreach ( $categories as $category ) { 
    652         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"; 
     652        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>"; 
    653653 
    654654        if ( $category['children'] ) { 
Note: See TracChangeset for help on using the changeset viewer.