Error Reporting should use E_* constants and bitmasks, not numbers for clarity
|Reported by:||jacobsantos||Owned by:||pishmishy|
error_reporting(2037); in wp-mail.php on line 5.
Is not a defined constant as listed at Error Reporting php.net page.
What is this supposed to be? It should be changed to either the constant it should be or the bit mask that it evaluates to that number.
This will help future developers understand the intention of the original author in order to prevent another developer from "correcting the mistake."
Change History (11)
comment:1 @pishmishy — 7 years ago
- Owner changed from anonymous to pishmishy
- Status changed from new to assigned