Changeset 5082 for trunk/wp-includes/post.php
- Timestamp:
- 03/22/2007 08:52:29 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r5029 r5082 448 448 449 449 function wp_get_post_categories($post_id = 0) { 450 $post_id = (int) $post_id; 451 450 452 $cats = &get_the_category($post_id); 451 453 $cat_ids = array(); … … 471 473 function wp_get_single_post($postid = 0, $mode = OBJECT) { 472 474 global $wpdb; 475 476 $postid = (int) $postid; 473 477 474 478 $post = get_post($postid, $mode);
Note: See TracChangeset
for help on using the changeset viewer.