[wp-trac] Re: [WordPress Trac] #10143: wp_timezone_supported returning false in PHP 5.1.6

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 14 15:17:45 GMT 2009


#10143: wp_timezone_supported returning false in PHP 5.1.6
--------------------------+-------------------------------------------------
 Reporter:  chipbennett   |        Owner:         
     Type:  defect (bug)  |       Status:  closed 
 Priority:  normal        |    Milestone:         
Component:  Date/Time     |      Version:  2.8    
 Severity:  normal        |   Resolution:  invalid
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by chipbennett):

 I have no idea what "use the timezone_support filter" means, but I can try
 to find out. It appears, though, from Otto's comment that the
 "timezone_support" filter is intended for certain edge cases.

 I don't see how this current issue is an "edge" case, much less "invalid"
 as a bug.

 WordPress minimum requirements are still PHP >= 4.3, while this option
 touted in 2.8 (automatic DST adjustment) appears not to work in PHP <
 5.2.6 (without a custom compile option, over which most self-installs on
 shared web hosts have no control).


 ----
 Also, can I also suggest changing the explanatory text for the manual
 timezone selection/daylight saving time adjustment when
 wp_timezone_supported returns false?

 Currently:[[BR]]
 ''Unfortunately, you have to manually update this for Daylight Savings
 Time. Lame, we know, but will be fixed in the future.''

 This text reads the same as in versions < 2.8, and can lead to confusion.
 (For example, I spent the better part of a couple hours re-uploading the
 2.8 files, thinking that part of the files didn't write correctly in the
 automatic upgrade since I didn't see the expected Settings - General UI.)

 Recommended Wording:[[BR]]
 ''Unfortunately, your server's PHP version does not support automatic
 Daylight Saving Time adjustment. For now, you will need to adjust DST
 manually. We apologize for the inconvenience.''

 (If this suggestion should be a separate ticket, just let me know and I'll
 submit it separately.)

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


More information about the wp-trac mailing list