Changeset 44414
- Timestamp:
- 01/07/2019 12:53:07 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-walker-category.php
r44413 r44414 205 205 */ 206 206 $css_classes = implode( ' ', apply_filters( 'category_css_class', $css_classes, $category, $depth, $args ) ); 207 208 $output .= ' class="' . $css_classes . '"'; 207 $css_classes = $css_classes ? ' class="' . esc_attr( $css_classes ) . '"' : ''; 208 209 $output .= $css_classes; 209 210 $output .= ">$link\n"; 210 211 } elseif ( isset( $args['separator'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.