Changeset 14660 for trunk/wp-includes/category-template.php
- Timestamp:
- 05/15/2010 09:59:15 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r14404 r14660 176 176 global $wp_rewrite; 177 177 $categories = get_the_category( $post_id ); 178 if ( !is_object_in_taxonomy( get_post_type( $post_id ), 'category' ) ) 179 return apply_filters( 'the_category', '', $separator, $parents ); 180 178 181 if ( empty( $categories ) ) 179 182 return apply_filters( 'the_category', __( 'Uncategorized' ), $separator, $parents );
Note: See TracChangeset
for help on using the changeset viewer.