The Life and Times of Michael Shadle

Blog | Projects | Netflix

WordPress



MySQLi support for WordPress 2.0.7
Mon, 15 Jan 2007 22:20:50 -0800

Yet another patch (actually the same one, but copied for version compliance.)

Patch file: wordpress-2.0.7-mysqli.patch

Apply with: "patch -p0 < wordpress-2.0.7-mysqli.patch" in the WordPress install directory.

Posted in WordPress | 5 Comments »


MySQLi support for WordPress 2.0.6
Sat, 06 Jan 2007 01:40:04 -0800

WordPress 2.0.6 was released earlier today. Shortly after I made the 2.0.5 patch. Oh well. Simple enough to make one for 2.0.6.

Patch file: wordpress-2.0.6-mysqli.patch

Apply with: "patch -p0 < wordpress-2.0.6-mysqli.patch" in the WordPress install directory.

Posted in WordPress | No Comments »


Quick hack: MySQLi support for WordPress 2.0.5
Fri, 29 Dec 2006 18:34:53 -0800

I wrote this quick hack to enable mysqli calls on WordPress. I prefer using mysqli on all my projects, and typically look change the packages I use to use it as well. I was surprised to see WordPress didn't use some bundled database abstraction layer; although those typically create more overhead, with such a large userbase I thought it would be in there. Oh well.

It wasn't very difficult, and seems to work 100% so far (how do I know? You're using it right now!)

Patch file: wordpress-2.0.5-mysqli.patch

Apply with: "patch -p0 -u < wordpress-2.0.5-mysqli.patch" in the WordPress install directory.

Any comments? Feel free to share! Note: this is the first patch I've created, bear with me while I learn :)

(Reposted from the my post on the Wordpress forum)

According to someone on the forum, there may be an easier way to do it soon just by supplying a different PHP file. However, for now, it is still easiest to just apply the patch.

Posted in WordPress | No Comments »


Entries (RSS) and Comments (RSS). 14 queries. 0.107 seconds.