Make WordPress Core


Ignore:
Timestamp:
01/10/2008 08:19:58 PM (17 years ago)
Author:
ryan
Message:

Fixes for new categories interface from mdawaffe. fixes #5618

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r6588 r6591  
    145145            'children' => get_nested_categories( $default, $parent->term_id ),
    146146            'cat_ID' => $parent->term_id,
    147             'checked' => isset($parent->_is_checked) && $parent->_is_checked,
     147            'checked' => in_array( $parent->term_id, $checked_categories ),
    148148            'cat_name' => get_the_category_by_ID( $parent->term_id )
    149149        );
Note: See TracChangeset for help on using the changeset viewer.