WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Categories Posts Count Wrong In Dashboard (3 posts)

  1. webgirl
    Member
    Posted 2 years ago #

    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.

  2. menslow
    Member
    Posted 1 year ago #

    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.

  3. menslow
    Member
    Posted 1 year ago #

    I figured out my issue...

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

Topic Closed

This topic has been closed to new replies.

About this Topic