Changes to post image function names in WP2.9RC1
Posted on: December 17, 2009 @ 2:57 pm -

Upgraded to WordPress 2.9 RC 1 in my localhost and got function errors saying has_post_image() is undefined.

I thought I had upgraded my theme to use the WordPress 2.9 post thumbnail feature. But why the error?

After searching online for answers. I came across this thread in WordPress Taven mentioning the changing of the function names.

Apparently, has_post_image() has been changed to has_post_thumbnail() and the_post_image() has been changed to the_post_thumbnail().

2 Responses to “Changes to post image function names in WP2.9RC1”

  1. Levent says:

    Thank you for your fast and serious work done. It was a pleasure to realize the project in a very professional and customer-orientated way.
    Looking forward to work again with denzel.

    • Denzel says:

      Hi Levent,

      Thanks for the compliments.
      Will update your kind compliment to my portfolio page.

      Thanks again!
      Looking forward to working with you in the near future!

      Regards,

      Denzel

Leave a Reply

  • Recent Comments

    Denzel on Vimeo-Quicktag

    Well, I think I can. If I have the time. I didn't know about any new Vimeo embed codes. Because, this plugin is not popular and it has been a long time since the last bug report from user. Will take a look at the code on Vimeo now, and see if I have the ability to integrate into this plugin. Thanks for your interest.

    Moritz on Vimeo-Quicktag

    Hey Denzel, thanks for the great work! We really would like to use the new vimeo embed code so iPad and iPhone owners can view the videos too. Do you plan to update the plugin? Again, thanks for this really nice plugin! Moritz

    ileane on Video Sidebar Widgets Comments & FAQ

    Hi there, great plugin!! I had to come to this site in order to find the video id. It would be great if that info was found on the widget set up dialog. Thanks for creating this!

    Denzel on Video Sidebar Widgets Comments & FAQ

    I don't understand your situation. If you want to have random video. Use the random video widget. If you want a single video use the video sidebar widget. If you want a few videos on your sidebar, just drag the widget over the sidebar as many times you want and set it up. Please read the documentation on the plugin page. Thanks.

    Ben on Video Sidebar Widgets Comments & FAQ

    Hi there, I'm trying to put your widget in Wordpress Version 3.0.1 but when I add it in the widgets sidebar I don't have an option for any more than one video. Any help would be much appreciated. Thanks!


  • Recent Posts

    Changes to post image function names in WP2.9RC1

    has_post_image() has been changed to has_post_thumbnail() and…..

    Change maximum file upload size in WordPress

    How to change maximum file upload size.

    Expanded My Post Meta Box

    I specially coded a meta box for my theme to control my theme layout

    Thanks for Rating My Plugin

    Thank you for the 5 star ratings!

    Video Sidebar Widgets Update

    Updated to Version 2.2 to include support for videos from tangle.com


  • Twitter Updates

    Follow me on Twitter or RSS