Changeset 26512 for trunk/src/wp-includes/wp-db.php
- Timestamp:
- 12/02/2013 12:08:57 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r25284 r26512 1140 1140 1141 1141 if ( WP_DEBUG ) { 1142 $error_reporting = false; 1143 if ( defined( 'E_DEPRECATED' ) ) { 1144 $error_reporting = error_reporting(); 1145 error_reporting( $error_reporting ^ E_DEPRECATED ); 1146 } 1142 1147 $this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags ); 1148 if ( false !== $error_reporting ) { 1149 error_reporting( $error_reporting ); 1150 } 1143 1151 } else { 1144 1152 $this->dbh = @mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags );
Note: See TracChangeset
for help on using the changeset viewer.