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:
parent
218924d9ee
commit
3b3a33b583
|
@ -632,7 +632,7 @@ class wpdb {
|
||||||
* @return mixed The private member
|
* @return mixed The private member
|
||||||
*/
|
*/
|
||||||
public function __get( $name ) {
|
public function __get( $name ) {
|
||||||
if ( 'col_info' == $name )
|
if ( 'col_info' === $name )
|
||||||
$this->load_col_info();
|
$this->load_col_info();
|
||||||
|
|
||||||
return $this->$name;
|
return $this->$name;
|
||||||
|
|
Loading…
Reference in New Issue