From 5745de2119898407940d691c892dbe2671098bfe Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 17 Feb 2010 12:13:34 +0000 Subject: [PATCH] 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 --- wp-includes/wp-db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 2970426e95..92df1cd5d7 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -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'] ) )