Ticket #20953: 20953.patch
File 20953.patch, 836 bytes (added by , 13 years ago) |
---|
-
wp-includes/functions.php
3622 3622 * @return string|array Either a string containing a reversed comma separated trace or an array of individual calls. 3623 3623 */ 3624 3624 function wp_debug_backtrace_summary( $ignore_class = null, $skip_frames = 0, $pretty = true ) { 3625 $trace = debug_backtrace( false ); 3625 3626 // Get the backtrace 3627 if ( version_compare( PHP_VERSION, '5.2.5' ) < 0 ) 3628 $trace = debug_backtrace(); 3629 elseif ( version_compare( PHP_VERSION, '5.3.6' ) < 0 ) 3630 $trace = debug_backtrace( false ); 3631 else 3632 $trace = debug_backtrace( 0 ); 3633 3626 3634 $caller = array(); 3627 3635 $check_class = ! is_null( $ignore_class ); 3628 3636 $skip_frames++; // skip this function