Initialize caller as an array. Fixes a bug introduced in [9886]
git-svn-id: https://develop.svn.wordpress.org/trunk@9890 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
dea31d3835
commit
41e0b87c8f
@ -958,7 +958,7 @@ class wpdb {
|
||||
return '';
|
||||
|
||||
$bt = debug_backtrace();
|
||||
$caller = '';
|
||||
$caller = array();
|
||||
|
||||
$bt = array_reverse( $bt );
|
||||
foreach ( (array) $bt as $call ) {
|
||||
|
Loading…
Reference in New Issue
Block a user