[wp-trac] [WordPress Trac] #21103: error_log() not called in wp-db.php when error_log setting is empty

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 28 17:45:05 UTC 2012


#21103: error_log() not called in wp-db.php when error_log setting is empty
--------------------------+------------------------------
 Reporter:  apimlott      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by apimlott):

 I was wrong about one thing.  The is_writable check doesn't fail, it fails
 earlier because the empty return from ini_get is considered false.  That's
 why I pulled the call to ini_get out of the condition.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21103#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list