[wp-trac] [WordPress Trac] #29325: Use <time datetime> tag in Post Date
WordPress Trac
noreply at wordpress.org
Tue Jun 26 12:33:28 UTC 2018
#29325: Use <time datetime> tag in Post Date
-------------------------+------------------------------
Reporter: Apiweb | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------------------
Comment (by Rarst):
I don't think this can or should be handled by a filter, that would
introduce a myriad of problems, such as:
1. Any call that explicitly provides date format will be broken by it.
2. Any call that goes through escaping before output will be broken by it.
3. Even if theme explicitly opts in for it, there is no guarantee that any
and all plugins running can handle it.
I am in favor of `<time>` tag being used in practice, but adding it to
existing API is simply not viable.
We could consider a new dedicated function for it though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29325#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list