Make WordPress Core


Ignore:
Timestamp:
03/10/2007 05:25:33 AM (19 years ago)
Author:
ryan
Message:

Add missing filters. Props jhodgdon. fixes #3599

File:
1 edited

Legend:

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

    r5007 r5015  
    706706function write_nested_categories( $categories ) {
    707707    foreach ( $categories as $category ) {
    708         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>";
     708        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( apply_filters('the_category', $category['cat_name'] )), "</label></li>";
    709709
    710710        if ( $category['children'] ) {
Note: See TracChangeset for help on using the changeset viewer.