[wp-trac] [WordPress Trac] #43480: Add $gmt parameter to the_time() function

WordPress Trac noreply at wordpress.org
Sat Mar 10 18:45:28 UTC 2018


#43480: Add $gmt parameter to the_time() function
---------------------------+------------------------------
 Reporter:  paulschreiber  |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Date/Time      |     Version:  4.9.4
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------------------

Comment (by Rarst):

 This will break backwards compatibility on `the_time` filter, since it
 doesn't have a concept of GMT time being requested. Even if the flag is
 added to it as parameter, any existing filter out there would not know to
 check for it.

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


More information about the wp-trac mailing list