diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 8f136ad54..6ad88a49c 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -385,7 +385,7 @@ class wpdb { $this->ready = true; - if ( !empty($this->charset) ) { + if ( $this->has_cap( 'collation' ) && !empty($this->charset) ) { if ( function_exists('mysql_set_charset') ) { mysql_set_charset($this->charset, $this->dbh); $this->real_escape = true;