mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Use $required_php_version. Props nacin. fixes #11637
git-svn-id: https://develop.svn.wordpress.org/trunk@12939 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1218,7 +1218,7 @@ class wpdb {
|
||||
/**
|
||||
* Retrieve the name of the function that called wpdb.
|
||||
*
|
||||
* Requires PHP 4.3 and searches up the list of functions until it reaches
|
||||
* Searches up the list of functions until it reaches
|
||||
* the one that would most logically had called this method.
|
||||
*
|
||||
* @since 2.5.0
|
||||
@@ -1226,10 +1226,6 @@ class wpdb {
|
||||
* @return string The name of the calling function
|
||||
*/
|
||||
function get_caller() {
|
||||
// requires PHP 4.3+
|
||||
if ( !is_callable('debug_backtrace') )
|
||||
return '';
|
||||
|
||||
$bt = debug_backtrace();
|
||||
$caller = array();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user