Home > WordPress > Due to popular demand - more MySQLi for WordPress!

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

  1. Download the file here
  2. Copy it over the existing wp-includes/wp-db.php file
  3. 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)

  1. Download the file here
  2. Copy it to wp-content/db.php (important - this is a hard-coded location)
  3. Enjoy!

Let me know if there are any issues, but in my quick little sandbox I made it worked fine...

Categories: WordPress
  1. Lazy
    March 4th, 2008 at 06:01 | #1

    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

  1. No trackbacks yet.
You must be logged in to post a comment.