Dougal Campbell's geek ramblings

WordPress, web development, and world domination.

Post thumbnails changes

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. :)

About Dougal Campbell

Dougal is a web developer, and a "Developer Emeritus" for the WordPress platform. When he's not coding PHP, Perl, CSS, JavaScript, or whatnot, he spends time with his wife, three children, a dog, and a cat in their Atlanta area home.
This entry was posted in WordPress and tagged , , , , , , , . Bookmark the permalink.

10 Responses to Post thumbnails changes

  1. “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.

  2. Pingback: WordPress Picks [12/13] | Techtites

  3. Pingback: I Twitt – 21.03 « RunBay.net

  4. Pingback: Twitter Weekly Updates for 2009-12-14 « RunBay.net

  5. Pingback: Twitter Updates for 2009-12-15 « RunBay.net

  6. Lars Vraa says:

    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.

  7. Pingback: Most Important Enhancements and New Features In Wordpress 2.9 | tripwire magazine

  8. Pingback: Most Important Enhancements and New Features In Wordpress 2.9 | Afif Fattouh - Web Specialist

  9. George Barn says:

    I think pulling source from SVN to production site isn’t good ideas, since little changes can make huge difference. Or I just too scare to do that. LOL

  10. Kenneth says:

    You site works fine. For me I always rely on wordpress plugin with highest rating and do some research about the plugin before installing my blog.

Leave a Reply

%d bloggers like this: