[wp-trac] [WordPress Trac] #20501: Timezone bug in wp-settings.php

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 21 11:24:45 UTC 2012


#20501: Timezone  bug in wp-settings.php
--------------------------+------------------------------
 Reporter:  j-idris       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Date/Time     |     Version:  3.3.1
 Severity:  normal        |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------

Comment (by duck_):

 Replying to [comment:3 j-idris]:
 > Why not just set UTC without checking for existence of the set function?

 The code was introduced before WordPress dropped support for PHP 4. The
 function didn't exist in PHP before version 5.1.0 and so older PHP
 installations would fatal error if the check wasn't there. Now that 5.2 is
 the minimum requirement that check can be dropped.

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


More information about the wp-trac mailing list