WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/09/2015 01:25:47 AM (7 years ago)
Author:
pento
Message:

WPDB: The mysqli_query() call in wpdb::set_charset() had the parameters the wrong way around.

File:
1 edited

Legend:

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

    r31371 r31374  
    765765                    if ( ! empty( $collate ) )
    766766                        $query .= $this->prepare( ' COLLATE %s', $collate );
    767                     mysqli_query( $query, $dbh );
     767                    mysqli_query( $dbh, $query );
    768768                }
    769769            } else {
Note: See TracChangeset for help on using the changeset viewer.