2.0 Image Uploads Stored in _posts Table (2 posts)

  1. Orin
    Posted 9 years ago #

    When I published my latest post I noticed something odd — the post ID number jumped by 10. Investigating the tables, I found that since I've upgraded to 2.0 all uploaded images have gotten their own rows in WP_posts. To me this makes sense for pages. But there seem like more than a few problems with this...

    There often can be many more images than posts, which causes confusion. For me, there are duplicate post_names (although admittedly no conflicts so far). It definately goes against content seperation sensibilities. Not to mention those whose permalinks include the post-ID (i.e. thesite.org/archive/123)

    So whats up? Can this be altered? Is it a result of upgrading versus a fresh install?

  2. Kafkaesqui

    Posted 9 years ago #

    "Is it a result of upgrading versus a fresh install?"

    Nope. A file uploaded through the new upload *tool* in the post editor is considered an attachment, which is a new post object (or rather, post_status) in 2.0. And sorry, but it can't be altered without downgrading your copy of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Topic