[wp-trac] [WordPress Trac] #49889: Image.php - Wrap Error Suppressors in WP_DEBUG Conditionals

WordPress Trac noreply at wordpress.org
Sun Apr 12 15:42:23 UTC 2020


#49889: Image.php - Wrap Error Suppressors in WP_DEBUG Conditionals
------------------------------------+-------------------------------
 Reporter:  Howdy_McGee             |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Media                   |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  coding-standards
------------------------------------+-------------------------------
Changes (by Howdy_McGee):

 * keywords:   => has-patch dev-feedback


Comment:

 This patch wraps all `@` suppressed methods with WP DEBUG conditionals. If
 anyone has ideas to further minimize the suppressed methods please submit
 an additive patch. Related to #24780 (
 [https://docs.google.com/spreadsheets/d/1STNVcDwc7PGboa8O6eQHLoGL2O_wrdRNX4Qnu4JtJFo/edit?usp=sharing
 Spreadsheet] )

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


More information about the wp-trac mailing list