[wp-trac] [WordPress Trac] #36981: Add optional stack trace dump for WordPress deprecation notices

WordPress Trac noreply at wordpress.org
Thu Apr 9 05:34:52 UTC 2020


#36981: Add optional stack trace dump for WordPress deprecation notices
-------------------------+-------------------------
 Reporter:  mark-k       |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  General      |     Version:
 Severity:  normal       |  Resolution:  worksforme
 Keywords:               |     Focuses:
-------------------------+-------------------------
Changes (by peterwilsoncc):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 This was discussed in the APAC Core triage today.

 Sorry about the length of time taken to respond, we've decided to close
 this as `worksforme` as stack traces are available due to the use of PHP's
 `trigger_error()` function.

 I've attached a screen shot with a call to `get_postdata()` to
 demonstrate.

 To make use of these, you'll need to enable debug mode in wp-config.php

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


More information about the wp-trac mailing list