Bypassing mysql library check for mysqli usage
|Reported by:||morpheu5||Owned by:||masquerade|
As suggested by masquerade in http://trac.wordpress.org/ticket/3292 I'm proposing this workaround that checks for mysql or mysqli library loaded. I've converted the WP code to mysqli as suggested by http://forge.mysql.com/wiki/Converting_to_MySQLi and it works. I guess this is not a matter of saying "we don't use it, we don't care" because my experience is that if a technology is intended to replace an older one, it *must* be taken in account *even if* you actually don't use it. It's called "flexibility" in the real world, I guess...
/wp-settings.php row 53
if ( !extension_loaded('mysqli') and !extension_loaded('mysql') )