My blog

My place to bitch!

Archive for December, 2008

WordPress: Automatic plugin upgrade with python

Posted by admin On December - 29 - 2008

Since I have been unable to find anything that automagically upgrades wordpress plugins from a script, I decided to write my own in python. This basically logs in and presses the ‘upgrade’ button for each of the plugins that have an upgrade available. The script does not support the FTP login for the upgrade process… so you’re out of luck if you need that.

I’ve really only tested this on wordpress 2.7.

Only basic error detection is done, so don’t blame me if this breaks something :)   Code follows…

Read the rest of this entry »