Changeset 31024 for trunk/src/wp-includes/category-template.php
- Timestamp:
- 01/02/2015 09:33:33 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r31006 r31024 377 377 $tab_index_attribute = " tabindex=\"$tab_index\""; 378 378 } 379 $categories = get_terms( $r['taxonomy'], $r ); 379 380 // Avoid clashes with the 'name' param of get_terms(). 381 $get_terms_args = $r; 382 unset( $get_terms_args['name'] ); 383 $categories = get_terms( $r['taxonomy'], $get_terms_args ); 384 380 385 $name = esc_attr( $r['name'] ); 381 386 $class = esc_attr( $r['class'] );
Note: See TracChangeset
for help on using the changeset viewer.