Changeset 31025
- Timestamp:
- 01/03/2015 02:04:17 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 edited
-
src/wp-includes/category-template.php (modified) (1 diff)
-
tests/phpunit/tests/category/wpListCategories.php (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r31024 r31025 997 997 ); 998 998 999 // Don't generate an element if the category name is empty. 1000 if ( ! $cat_name ) { 1001 return; 1002 } 1003 999 1004 $link = '<a href="' . esc_url( get_term_link( $category ) ) . '" '; 1000 1005 if ( $args['use_desc_for_title'] && ! empty( $category->description ) ) {
Note: See TracChangeset
for help on using the changeset viewer.