Changeset 46163 for trunk/src/wp-includes/class-walker-category.php
- Timestamp:
- 09/18/2019 12:24:35 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-walker-category.php
r46088 r46163 207 207 if ( $category->term_id == $_current_term->term_id ) { 208 208 $css_classes[] = 'current-cat'; 209 $link = str_replace( '<a', '<a aria-current="page"', $link ); 209 210 } elseif ( $category->term_id == $_current_term->parent ) { 210 211 $css_classes[] = 'current-cat-parent';
Note: See TracChangeset
for help on using the changeset viewer.