Changeset 2225
- Timestamp:
- 02/05/2005 08:45:50 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions-post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions-post.php
r2199 r2225 65 65 66 66 // Set categories 67 $result['post_category'] = wp_get_post_cats('',$postid); 67 if($mode == OBJECT) { 68 $result->post_category = wp_get_post_cats('',$postid); 69 } 70 else { 71 $result['post_category'] = wp_get_post_cats('',$postid); 72 } 68 73 69 74 return $result;
Note: See TracChangeset
for help on using the changeset viewer.