Fix suppressed notice in wpdb::get_caller(). Props arena, fixes #11721
git-svn-id: https://develop.svn.wordpress.org/trunk@13174 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
663ab7e478
commit
5745de2119
@ -1231,7 +1231,7 @@ class wpdb {
|
||||
|
||||
$bt = array_reverse( $bt );
|
||||
foreach ( (array) $bt as $call ) {
|
||||
if ( @$call['class'] == __CLASS__ )
|
||||
if ( isset( $call['class'] ) && __CLASS__ == $call['class'] )
|
||||
continue;
|
||||
$function = $call['function'];
|
||||
if ( isset( $call['class'] ) )
|
||||
|
Loading…
Reference in New Issue
Block a user