Support » Fixing WordPress » Uploaded images get post_parent of -1175525942

  • I am uploading images into Pages… and for some of the pages, it seems that the first image gets the correct post_parent id… but the rest get an id of -1175525942.
    So I have to go into phpmyadmin and correct them… quite time consuming as there are a lot of them!

    I did a search so excuse me if this is a known bug.

Viewing 2 replies - 1 through 2 (of 2 total)
  • waydomatic


    Same deal here. I remember a while back that this occurred when posts were placed in and out of draft a few times.

    This isn’t the case for me.

    The code behind my site has not changed since the site went live, and now all of a sudden I’m getting these incorrect post_parent numbers all of the time.

    Would really love some assistance.



    So I did a bit of searching and found this:

    Seems it’s something to do with the new Auto-Save feature.

    Anyway, if you make changes to your admin-functions.php as demonstrated here:, you should be good.

    I tested it – worked perfectly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uploaded images get post_parent of -1175525942’ is closed to new replies.