Make WordPress Core

Opened 19 years ago

Closed 19 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:
Priority: high Milestone: 2.5
Component: General Version: 2.3.1
Severity: major Keywords:
Cc: Focuses:

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
19 years ago

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

#2 @anonymized_218323
19 years ago

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

#4 @ryan
19 years ago

Heh, totally forgot I already patched this before.

#5 @ryan
19 years ago

  • Resolutionfixed
  • Status newclosed

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

Note: See TracTickets for help on using tickets.