WordPress.org

Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#5488 closed defect (bug) (fixed)

New category in a future post won't show up until post is edited

Reported by: SteveAgl Owned by:
Milestone: 2.5 Priority: high
Severity: major Version: 2.3.1
Component: General Keywords:
Focuses: Cc:

Description

If u make a post with a future date and you add a new category too, when post is published the category doesn't list in categories until you edit the post or you make a new post with that category

Change History (5)

#1 @ryan
14 years ago

wp_publish_post() needs to wp_update_term_count() for wp_get_object_terms().

#2 @santosj
14 years ago

  • Summary changed from New category ina future post wont' show up until post is edited to New category in a future post won't show up until post is edited

#4 @ryan
14 years ago

Heh, totally forgot I already patched this before.

#5 @ryan
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [6425]) Update term counts when future posts are published. fixes #4913 #5488

Note: See TracTickets for help on using tickets.