[wp-trac] [WordPress Trac] #24780: Use error handlers rather than the error suppression operator

WordPress Trac noreply at wordpress.org
Tue Mar 10 14:52:23 UTC 2020


#24780: Use error handlers rather than the error suppression operator
----------------------------+---------------------
 Reporter:  rmccue          |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:
Component:  Filesystem API  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+---------------------

Comment (by Howdy_McGee):

 Doing a quick search on this, there are at least **~200 instances** of the
 @ suppression operator **across ~55 files**. Maybe to make this process
 easier we should split it up (by ticket) inyo smaller bites either by
 component or file. Most files have less 1 or 2 instances but the `class-
 pclzip.php` file has around 60 instances.

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


More information about the wp-trac mailing list