diff --git wp-includes/default-constants.php wp-includes/default-constants.php
index ae97efd..b22e24c 100644
|
|
|
function wp_initial_constants() { |
| 71 | 71 | if ( !defined('WP_CACHE') ) |
| 72 | 72 | define('WP_CACHE', false); |
| 73 | 73 | |
| | 74 | // Persistent database connections |
| | 75 | if( !defined( 'DB_PERSISTENT' ) ) { |
| | 76 | define( 'DB_PERSISTENT', false ); |
| | 77 | } |
| | 78 | |
| 74 | 79 | /** |
| 75 | 80 | * Private |
| 76 | 81 | */ |
diff --git wp-includes/wp-db.php wp-includes/wp-db.php
index 5178317..ddf4304 100644
|
|
|
class wpdb { |
| 1417 | 1417 | } |
| 1418 | 1418 | } |
| 1419 | 1419 | |
| | 1420 | if( DB_PERSISTENT ) { |
| | 1421 | $host = "p:$host"; |
| | 1422 | } |
| | 1423 | |
| 1420 | 1424 | if ( WP_DEBUG ) { |
| 1421 | 1425 | mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags ); |
| 1422 | 1426 | } else { |