Make WordPress Core


Ignore:
Timestamp:
02/03/2010 09:38:09 PM (17 years ago)
Author:
markjaquith
Message:

Use $required_php_version. Props nacin. fixes #11637

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/wp-db.php

    r12922 r12939  
    12191219         * Retrieve the name of the function that called wpdb.
    12201220         *
    1221          * Requires PHP 4.3 and searches up the list of functions until it reaches
     1221         * Searches up the list of functions until it reaches
    12221222         * the one that would most logically had called this method.
    12231223         *
    … …  
    12271227         */
    12281228        function get_caller() {
    1229                 // requires PHP 4.3+
    1230                 if ( !is_callable('debug_backtrace') )
    1231                         return '';
    1232 
    12331229                $bt = debug_backtrace();
    12341230                $caller = array();
Note: See TracChangeset for help on using the changeset viewer.