Index: wp-includes/functions.php
===================================================================
--- wp-includes/functions.php	(revision 21081)
+++ wp-includes/functions.php	(working copy)
@@ -3622,7 +3622,15 @@
  * @return string|array Either a string containing a reversed comma separated trace or an array of individual calls.
  */
 function wp_debug_backtrace_summary( $ignore_class = null, $skip_frames = 0, $pretty = true ) {
-	$trace  = debug_backtrace( false );
+
+	// Get the backtrace
+	if ( version_compare( PHP_VERSION, '5.2.5' ) < 0 )
+		$trace = debug_backtrace();
+	elseif ( version_compare( PHP_VERSION, '5.3.6' ) < 0 )
+		$trace = debug_backtrace( false );
+	else
+		$trace = debug_backtrace( 0 );
+
 	$caller = array();
 	$check_class = ! is_null( $ignore_class );
 	$skip_frames++; // skip this function
