Changeset 45611 for trunk/src/wp-includes/wp-db.php
- Timestamp:
- 07/09/2019 05:44:42 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r45602 r45611 1377 1377 1378 1378 array_walk( $args, array( $this, 'escape_by_ref' ) ); 1379 $query = @vsprintf( $query, $args );1379 $query = vsprintf( $query, $args ); 1380 1380 1381 1381 return $this->add_placeholder_escape( $query ); … … 1615 1615 mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags ); 1616 1616 } else { 1617 // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged 1617 1618 @mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags ); 1618 1619 } … … 1646 1647 $this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags ); 1647 1648 } else { 1649 // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged 1648 1650 $this->dbh = @mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags ); 1649 1651 }
Note: See TracChangeset
for help on using the changeset viewer.