Use MySQLi only on WP 3.4+