- Timestamp:
- 09/10/2019 07:22:07 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-walker-category-checklist.php
r42343 r46088 96 96 } 97 97 98 /** This filter is documented in wp-includes/category-template.php */99 98 $output .= "\n" . '<li' . $class . '>' . 100 99 '<div class="' . $inner_class . '" data-term-id=' . $category->term_id . 101 100 ' tabindex="0" role="checkbox" aria-checked="' . $aria_checked . '">' . 101 /** This filter is documented in wp-includes/category-template.php */ 102 102 esc_html( apply_filters( 'the_category', $category->name, '', '' ) ) . '</div>'; 103 103 } else { 104 /** This filter is documented in wp-includes/category-template.php */105 104 $output .= "\n<li id='{$taxonomy}-{$category->term_id}'$class>" . 106 105 '<label class="selectit"><input value="' . $category->term_id . '" type="checkbox" name="' . $name . '[]" id="in-' . $taxonomy . '-' . $category->term_id . '"' . 107 106 checked( in_array( $category->term_id, $args['selected_cats'] ), true, false ) . 108 107 disabled( empty( $args['disabled'] ), false, false ) . ' /> ' . 108 /** This filter is documented in wp-includes/category-template.php */ 109 109 esc_html( apply_filters( 'the_category', $category->name, '', '' ) ) . '</label>'; 110 110 }
Note: See TracChangeset
for help on using the changeset viewer.