Changeset 5637 for trunk/wp-admin/includes/template.php
- Timestamp:
- 06/02/2007 02:53:09 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r5622 r5637 158 158 $name = wp_specialchars( apply_filters('the_category', $category->name)); 159 159 $checked = in_array( $cat_id, $checked_categories ); 160 echo '<li id=" category-', $cat_id, '"><label for="in-category-', $cat_id, '" class="selectit"><input value="', $cat_id, '" type="checkbox" name="post_category[]" id="in-category-', $cat_id, '"', ($checked ? ' checked="checked"' : "" ), '/> ', $name, "</label></li>";160 echo '<li id="link-category-', $cat_id, '"><label for="in-link-category-', $cat_id, '" class="selectit"><input value="', $cat_id, '" type="checkbox" name="link_category[]" id="in-link-category-', $cat_id, '"', ($checked ? ' checked="checked"' : "" ), '/> ', $name, "</label></li>"; 161 161 } 162 162 }
Note: See TracChangeset
for help on using the changeset viewer.