[wp-trac] [WordPress Trac] #48976: Current_time

WordPress Trac noreply at wordpress.org
Mon Dec 16 12:12:01 UTC 2019


#48976: Current_time
-------------------------------+------------------------------
 Reporter:  autotutorial       |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Date/Time          |     Version:  5.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by Rarst):

 Why do you think that line is "Bad"?

 > This for $gmt = 0 create string, not object.

 I don't know how would that produce a string. What exactly does does
 `var_dump( wp_timezone() );` gives you? What are your settings?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48976#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list