[wp-trac] [WordPress Trac] #31078: Continue the better option for <title> tags

WordPress Trac noreply at wordpress.org
Wed Sep 23 14:25:10 UTC 2015


#31078: Continue the better option for <title> tags
-------------------------------------+-----------------------
 Reporter:  obenland                 |       Owner:  obenland
     Type:  enhancement              |      Status:  accepted
 Priority:  normal                   |   Milestone:  4.4
Component:  Themes                   |     Version:  4.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------

Comment (by ocean90):

 Replying to [comment:21 nacin]:
 > `date()` isn't even locale-aware, according to the documentation:
 http://php.net/manual/en/function.date.php. Even if it were, I would
 venture to guess that the locale is almost never *installed*, let alone
 configured (WordPress doesn't use `setlocale()`).

 But `mysql2date()`, which is used by `get_the_date()`, returns by default
 (third argument) a translated date.

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


More information about the wp-trac mailing list