- Timestamp:
- 03/29/2017 11:21:26 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-walker-category-checklist.php
r34425 r40348 85 85 86 86 if ( ! empty( $args['list_only'] ) ) { 87 $aria_chec hed = 'false';87 $aria_checked = 'false'; 88 88 $inner_class = 'category'; 89 89 90 90 if ( in_array( $category->term_id, $args['selected_cats'] ) ) { 91 91 $inner_class .= ' selected'; 92 $aria_chec hed = 'true';92 $aria_checked = 'true'; 93 93 } 94 94 … … 96 96 $output .= "\n" . '<li' . $class . '>' . 97 97 '<div class="' . $inner_class . '" data-term-id=' . $category->term_id . 98 ' tabindex="0" role="checkbox" aria-checked="' . $aria_chec hed . '">' .98 ' tabindex="0" role="checkbox" aria-checked="' . $aria_checked . '">' . 99 99 esc_html( apply_filters( 'the_category', $category->name ) ) . '</div>'; 100 100 } else {
Note: See TracChangeset
for help on using the changeset viewer.