[wp-trac] [WordPress Trac] #29325: Use <time datetime> tag in Post Date

WordPress Trac noreply at wordpress.org
Wed Aug 28 07:14:54 UTC 2019


#29325: Use <time datetime> tag in Post Date
-------------------------+-----------------------------
 Reporter:  Apiweb       |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  reviewing
 Priority:  normal       |   Milestone:  5.3
Component:  Date/Time    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------

Comment (by diddledan):

 We do have precedent here:
 https://developer.wordpress.org/reference/functions/get_the_post_thumbnail/

 The `get_the_post_thumbnail` returns HTML so it is not unexpected that
 other `get_*` functions can do the same IMO.

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


More information about the wp-trac mailing list