• Was wondering if anyone ran into a problem after updating and then importing posts to WordPress 3.3.1 with all the categories posts count / number being wrong in the Dashboard under Posts > Categories.

    Meanwhile, I found that by moving a post from one category to each one corrects the problem, so it must be a bug.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m running into this same issue. I’m working on a project where I’m migrating 675 posts from an old CMS into WordPress.

    I’m using the standard wp_insert_post() function and passing in an array of category ids for the “post_category” argument.

    The post number links on the Category Admin page all read “0”, however when you click the 0, you are taken to the post dataset filtered by that category. So, it only seems like the number is just not calculating correctly.

    I figured out my issue…

    Post counts on that page are only counting published posts. I’m importing the post as post_status = ‘pending’

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress Categories Posts Count Wrong In Dashboard’ is closed to new replies.