[wp-trac] Re: [WordPress Trac] #5771: error_log in wp-db.php and install failures

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 4 04:08:16 GMT 2008


#5771: error_log in wp-db.php and install failures
----------------------+-----------------------------------------------------
 Reporter:  MichaelH  |        Owner:  anonymous
     Type:  defect    |       Status:  reopened 
 Priority:  normal    |    Milestone:  2.5      
Component:  General   |      Version:  2.3.2    
 Severity:  normal    |   Resolution:           
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by DD32):

 > Error control operator won't prevent scripts dieing if the error is
 fatal. I am asking the same person to test the patch and will report if I
 hear the result from him.

 When error_log is disabled via disable_functions the error is simply a
 warning, Which can be silenced via the @ operator, At least in the PHP
 versions i've used.

 Also, while function_exists will return false for disabled functions. I
 guess its either wrap it in that, or remove the call?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5771#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list