[wp-trac] [WordPress Trac] #7035: Error Reporting should use E_*
constants and bitmasks, not numbers for clarity
WordPress Trac
wp-trac at lists.automattic.com
Sun May 25 01:25:42 GMT 2008
#7035: Error Reporting should use E_* constants and bitmasks, not numbers for
clarity
-------------------------+--------------------------------------------------
Reporter: jacobsantos | Owner: anonymous
Type: enhancement | Status: new
Priority: lowest | Milestone: 2.7
Component: General | Version:
Severity: trivial | Keywords: wp-mail
-------------------------+--------------------------------------------------
{{{error_reporting(2037);}}} in wp-mail.php on line 5.
Is not a defined constant as listed at [http://us3.php.net/error_reporting
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."
--
Ticket URL: <http://trac.wordpress.org/ticket/7035>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list