Changeset 12939 for trunk/wp-includes/wp-db.php
- Timestamp:
- 02/03/2010 09:38:09 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/wp-db.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/wp-db.php
r12922 r12939 1219 1219 * Retrieve the name of the function that called wpdb. 1220 1220 * 1221 * Requires PHP 4.3 and searches up the list of functions until it reaches1221 * Searches up the list of functions until it reaches 1222 1222 * the one that would most logically had called this method. 1223 1223 * … … 1227 1227 */ 1228 1228 function get_caller() { 1229 // requires PHP 4.3+1230 if ( !is_callable('debug_backtrace') )1231 return '';1232 1233 1229 $bt = debug_backtrace(); 1234 1230 $caller = array();
Note: See TracChangeset
for help on using the changeset viewer.