Due to popular demand - more MySQLi for WordPress!
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
-
Download the file here
-
Copy it over the existing wp-includes/wp-db.php file
-
Enjoy!
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)
-
Download the file here
-
Copy it to wp-content/db.php (important - this is a hard-coded location)
-
Enjoy!
Let me know if there are any issues, but in my quick little sandbox I made it worked fine...