Due to popular demand - more MySQLi for WordPress!
Tuesday, March 4th, 2008 at 2:50 am
I've had two requests now for MySQLi updates, so here ya go. It's pretty simple to do it yourself - just look for any mysql_ string, replace it to mysqli_ (where applicable) and in some instances, change the order of the parameters.
Below is the version of wp-includes/wp-db.php for production WP 2.3.3
Below is a version that works against the latest in SVN trunk (right now revision 7152) using the new db.php override feature (apparently still not in 2.3.x)
Let me know if there are any issues, but in my quick little sandbox I made it worked fine...
This entry was posted and is filed under WordPress. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Comment on this post:
One Response to "Due to popular demand - more MySQLi for WordPress!"
thank you very much! i`ve tried the trunk mysqli-patch and it works like a charm.. got no problem at all, it is really good working!! thank you!
Greetings
Chris