[wp-trac] [WordPress Trac] #10940: date() and strtotime() warnings in PHP 5.3

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 9 23:46:27 UTC 2009


#10940: date() and strtotime() warnings in PHP 5.3
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.9
Component:  General       |     Version:  2.9
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------

Comment(by dd32):

 That happens when you upgrade through a few PHP versions and use old
 php.ini files, You neglect to update the new fields you need.

 Set the 'date.timezone' php.ini setting correctly and PHP will not throw
 errors about its configuration every pageload which uses any date related
 functions.


 tempted to close as invalid, However, WordPress could use that function
 and set a default timezone i guess.. but that really depends on the
 server..

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


More information about the wp-trac mailing list