[wp-hackers] PHP5.3 and mysqlnd

DD32 wordpress at dd32.id.au
Tue Jun 24 01:01:49 GMT 2008


On Tue, 24 Jun 2008 10:56:52 +1000, Jacob Santos <wordpress at santosj.name>  
wrote:
> As an aside, WordPress does not pass certain E_DEPRECATED checks, so you
> may want to turn error_reporting off, unless you are testing. Also,
> since WordPress still supports PHP4, there won't be any fixes for the
> errors, or at least until WordPress sets the requirements to PHP5+.

since WordPress allready sets the error_reporting() isnt it possible for  
WordPress to set it to ignore the E_DEPRECATED errors?

I know that constant will not be defined on older installs, But a simple  
if( ! defined('E_DEPRECATED') ) define('E_DEPRECATED', '0'); should take  
care of that?


More information about the wp-hackers mailing list