[wp-trac] [WordPress Trac] #51383: PHP error body class added for suppressed errors

WordPress Trac noreply at wordpress.org
Tue Jun 8 19:02:07 UTC 2021


#51383: PHP error body class added for suppressed errors
----------------------------+-----------------------------
 Reporter:  desrosj         |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  reviewing
 Priority:  normal          |   Milestone:  5.9
Component:  Administration  |     Version:  5.5
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------
Changes (by hellofromTonya):

 * milestone:  5.8 => 5.9


Comment:

 I agree with Sergey that a deeper review is needed to ensure the original
 intent remains. Also should revisit
 [https://core.trac.wordpress.org/ticket/51073#comment:10 his suggestions
 here]:

 >In a future release, we could try something like:
 >   - Saving the value of `error_reporting()` before it's affected by
 `wp_debug_mode()`.
 >.  - Using that to only print the class if we determine that the error
 was displayed according to that setting.

 As the issue is not due to 5.7 or 5.8 and today is 5.8 Beta 1, punting to
 5.9.

 Adding to my tasks list to help out for resolution landing in 5.9.

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


More information about the wp-trac mailing list