mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-08 19:20:03 +00:00
WPDB's __get() function should perform strict comparisons against member names
git-svn-id: https://develop.svn.wordpress.org/trunk@30292 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -632,7 +632,7 @@ class wpdb {
|
||||
* @return mixed The private member
|
||||
*/
|
||||
public function __get( $name ) {
|
||||
if ( 'col_info' == $name )
|
||||
if ( 'col_info' === $name )
|
||||
$this->load_col_info();
|
||||
|
||||
return $this->$name;
|
||||
|
||||
Reference in New Issue
Block a user