mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Fix suppressed notice in wpdb::get_caller(). Props arena, fixes #11721
git-svn-id: http://svn.automattic.com/wordpress/trunk@13174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f18f34ead8
commit
bc6924cf05
@ -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