I just ran the auto update for a clients site. Now all of my code that is pulling in custom fields and building wp_list_pages menus are broken.
It appears that with the auto update to 2.9.2 that $post->ID isn’t working. I’ve searched on the WP.org site and on Google but I’ve only found a few people citing the same issue.
What happened? I have to say this is really really really worrying me as there are number of sites out there that would break or completely crumble.
I understand that ‘get_the_id()’ works but how can we be expected to go back and replace every instance of $post->ID.
Please, someone tell me I’m overreacting and that there is a fix or answer to this. Otherwise I have to tell clients to NEVER updat their site??? Or risk backlash for the hours needed to fix this? Or work for hours on end for free???
I hope I’m jumping to conclusions.
- The topic ‘What happened to $post->ID’ is closed to new replies.