Changeset 16478
- Timestamp:
- 11/19/2010 05:06:48 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r16469 r16478 222 222 */ 223 223 function in_category( $category, $post = null ) { 224 if ( empty( $category ) ) 225 return false; 226 224 227 return has_term( $category, 'category', $post ); 225 228 }
Note: See TracChangeset
for help on using the changeset viewer.