WordPress.org

Make WordPress Core

Changeset 30292


Ignore:
Timestamp:
11/09/2014 12:03:31 PM (5 years ago)
Author:
pento
Message:

WPDB's __get() function should perform strict comparisons against member names

File:
1 edited

Legend:

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

    r30105 r30292  
    633633     */
    634634    public function __get( $name ) {
    635         if ( 'col_info' == $name )
     635        if ( 'col_info' === $name )
    636636            $this->load_col_info();
    637637
Note: See TracChangeset for help on using the changeset viewer.