WordPress.org

Make WordPress Core

Ticket #32127: 32127.diff

File 32127.diff, 417 bytes (added by kovshenin, 5 years ago)
  • src/wp-includes/wp-db.php

     
    739739                }
    740740
    741741                if ( ( $this->use_mysqli && ! ( $this->dbh instanceof mysqli ) )
    742                   || ( empty( $this->dbh ) || ! ( $this->dbh instanceof mysqli ) ) ) {
     742                  || ( empty( $this->dbh ) ) ) {
    743743                        return;
    744744                }
    745745