WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r12410 r12574  
    386386        $this->ready = true;
    387387
    388         if ( !empty($this->charset) ) {
     388        if ( $this->has_cap( 'collation' ) && !empty($this->charset) ) {
    389389            if ( function_exists('mysql_set_charset') ) {
    390390                mysql_set_charset($this->charset, $this->dbh);
Note: See TracChangeset for help on using the changeset viewer.