Updated my plugins – Please Read This!

I’ve updated my 3 WordPress plugins:

WordPress Generic Statistics Plugin

Please Link 2 Me

Hotlink 2 Link

I fell prey to the whole “serializing serialized options”. In the words of DD32:

Ahah! One of those people who insist on passing serialized data to update_option()…

Honestly: update_option() serializes any non-string data thats passed to it allready, get_option() will unserialize on return as well, In some cases you can end up with PHP double-serializing the string which while your code works fine with, it can create higher load on PHP..

My advice to all plugin developers: Just pass the data in and let the API do the serializing…

(Nothing really negitive towards you meant by this message)

(That wasn’t directed at me, but I did learn from it)

So, please update.

Warning

BUT! And this is a BIG BUT!

This upgrade will corrupt any previous settings you had. I’m really sorry about this. And believe me, any pain you go through because of this, I’ve already felt. I just had to upgrade 12 blogs, and manually re-add the settings that were removed. :-(

Leave a Reply