[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 Aug 30 05:18:12 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:  3.5
Component:  Database               |     Version:  3.4
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------
Changes (by nacin):

 * keywords:  has-patch => has-patch 2nd-opinion
 * milestone:  Awaiting Review => 3.5


Comment:

 Can't we just always call error_log()? The conditional, function_exists,
 and error suppression all seem unnecessary.

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


More information about the wp-trac mailing list