Changeset 6121 for trunk/wp-includes/post.php
- Timestamp:
- 09/16/2007 02:36:23 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r6120 r6121 582 582 $post = get_post($postid, $mode); 583 583 584 // Set categories 584 // Set categories and tags 585 585 if($mode == OBJECT) { 586 586 $post->post_category = wp_get_post_categories($postid); 587 $post->tags_input = wp_get_post_tags($postid, array('fields' => 'names')); 587 588 } 588 589 else { 589 590 $post['post_category'] = wp_get_post_categories($postid); 591 $post['tags_input'] = wp_get_post_tags($postid, array('fields' => 'names')); 590 592 } 591 593
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)