Make WordPress Core


Ignore:
Timestamp:
07/03/2015 12:43:48 PM (10 years ago)
Author:
dd32
Message:

Enable utf8mb4 for MySQL extension users. Previously utf8mb4 was limited to MySQLi users only unintentionally.

Ports [33055] to the 4.2 branch
Fixes #32127 for 4.2.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.2/src/wp-includes/wp-db.php

    r32377 r33063  
    739739        }
    740740
    741         if ( ( $this->use_mysqli && ! ( $this->dbh instanceof mysqli ) )
    742           || ( empty( $this->dbh ) || ! ( $this->dbh instanceof mysqli ) ) ) {
     741        if ( ( $this->use_mysqli && ! ( $this->dbh instanceof mysqli ) ) || empty( $this->dbh ) ) {
    743742            return;
    744743        }
Note: See TracChangeset for help on using the changeset viewer.