[wp-trac] [WordPress Trac] #20953: function debug_backtrace() doesn't accept any parameters in PHP 5.2.4 or lower
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 14 13:45:33 UTC 2012
#20953: function debug_backtrace() doesn't accept any parameters in PHP 5.2.4 or
lower
------------------------------+-----------------------------
Reporter: swekitsune | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Warnings/Notices | Version: 3.4
Severity: normal | Keywords:
------------------------------+-----------------------------
If you try to update Wordpress to 3.4 on a server using PHP 5.2.4 or
lower, the user will receive the notice "wrong parameter count for
debug_backtrace()". In the function "wp_debug_backtrace_summary" we can
see that the usage of debug_backtrace looks like this:
{{{
$trace = debug_backtrace( false );
}}}
In PHP 5.2.4 or lower, debug_backtrace() doesn't accept any parameters –
however, laters versions do.
For the time being, it is easily fixed (just remove "false") but a
permanent fix should be sought for.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20953>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list