Changeset 36008 for trunk/src/wp-includes/class-walker-category.php
- Timestamp:
- 12/18/2015 06:37:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-walker-category.php
r35140 r36008 171 171 $css_classes[] = 'current-cat-parent'; 172 172 } 173 while ( $_current_term->parent ) { 174 if ( $category->term_id == $_current_term->parent ) { 175 $css_classes[] = 'current-cat-ancestor'; 176 break; 177 } 178 $_current_term = get_term( $_current_term->parent, $category->taxonomy ); 179 } 173 180 } 174 181 }
Note: See TracChangeset
for help on using the changeset viewer.