
If you visited my site in the last 9 hours and found it displaying nothing but an error message, my apologies. It’s part of the danger of running my site out of the WordPress SVN trunk (i.e., beta code), and taking advantage of new features.
My site automatically pulls in the latest code changes from SVN at midnight. And it seems that sometime yesterday, all of the post_image_* functions were renamed to post_thumbnail_*, and I failed to wrap one of my function calls with function_exists() protection. So from midnight until about 9:00am, my site was bombing out with a fatal call to a non-existent function. Oops!
Anyhow, I’ve fixed it (and added in the protective wrapper), so things are back to normal now.
Oh, and all of you who have written tutorials about how to use the new post thumbnail features in your themes? Time to rewrite them.
Related posts:
- WordPress 2.9 Features
"This site is now running on WordPress 2.9-rare (which is our “pre-alpha” designation, for those of you who don’t know). WP 2.9 is in “feature..." - Auto-fail
"This is not the original WordPress Wednesday post that I had intended to make, picking up from last week about changes to my site. It’s..." - Post Meta
" Spent some lunch hours this week working on “post meta” hacks for WordPress. This will allow users to add arbitrary extra fields to their..." - del.icio.us daily blog post fixer plugin
" I mentioned previously that I wanted to make a WordPress plugin that would touch up the posts created by the del.icio.us “daily blog post”..." - WordPress theme licensing
"There is finally an official answer to the question of whether or not WordPress themes must “inherit” the GPL license that WordPress itself uses. Matt..."















2 Comments
“My site automatically pulls in the latest code changes from SVN at midnight.”
You’re a braver man than I am Charlie Brown…
Aside from wrapping the functions in an if…then statements, any problems with the SVN version? I’m using the version from SVN but have not updated my theme to use the new functions.
wow…pulling source from SVN to your production site! YES you are BRAVE
It’s certainly best practice to have continued integration like this but I guess it should take place in a integration environment wher you could run a few automated test….you seam like geek enough to set that up also… Anyway thanks for the information I was getting confused about the tuts using different function calls.
6 Trackbacks
[...] code on that post hasn't been updated. Dougal in a post today, mentioned all of the post_image_* functions were renamed to [...]
[...] Checking out this site: http://dougal.gunters.org/blog/2009/12/11/post-thumbnails-changes#comment-169298 [...]
[...] out this site: http://dougal.gunters.org/blog/2009/12/11/post-thumbnails-changes#comment-169298 [...]
[...] out this site: http://dougal.gunters.org/blog/2009/12/11/post-thumbnails-changes#comment-169298 [...]
[...] From the file wp-includes/post-image-template.php you will have 4 new functions available to control rendering of the post image in your theme (was actually called xxx_post_image until recently but a late code change turned image into thumbnail…): [...]
[...] From the file wp-includes/post-image-template.php you will have 4 new functions available to control rendering of the post image in your theme (was actually called xxx_post_image until recently but a late code change turned image into thumbnail…): [...]