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:
Mark Jaquith
2010-02-03 21:38:09 +00:00
parent d491a56710
commit cb141f847f
2 changed files with 4 additions and 7 deletions
+1 -5
View File
@@ -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();