Changeset 6899
- Timestamp:
- 02/18/2008 05:46:26 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/category-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r6824 r6899 110 110 } 111 111 112 function get_the_category_list($separator = '', $parents='' ) {112 function get_the_category_list($separator = '', $parents='', $post_id = false) { 113 113 global $wp_rewrite; 114 $categories = get_the_category( );114 $categories = get_the_category($post_id); 115 115 if (empty($categories)) 116 116 return apply_filters('the_category', __('Uncategorized'), $separator, $parents); … … 180 180 } 181 181 182 function the_category($separator = '', $parents='' ) {183 echo get_the_category_list($separator, $parents );182 function the_category($separator = '', $parents='', $post_id = false) { 183 echo get_the_category_list($separator, $parents, $post_id); 184 184 } 185 185
Note: See TracChangeset
for help on using the changeset viewer.