[wp-trac] [WordPress Trac] #44177: Enhance wp_debug_backtrace_summary() with the optional ability to include arguments

WordPress Trac noreply at wordpress.org
Mon May 21 15:54:12 UTC 2018


#44177: Enhance wp_debug_backtrace_summary() with the optional ability to include
arguments
---------------------------+------------------------------
 Reporter:  DavidAnderson  |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  General        |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------------------

Comment (by DavidAnderson):

 Though changing default behaviour is usually undesirable, I wonder if in
 the case of a debugging function whose output was, and remains, a textual
 string, if there's not a good case for changing it in this case? The extra
 info is harmless, and it's hard to envisage anybody parsing the output and
 relying upon it in a way that would be breaking. Having to pass all 4
 parameters to get the info is a bit annoying.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44177#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list