[wp-trac] [WordPress Trac] #26723: Hatom Errors
WordPress Trac
noreply at wordpress.org
Thu Jun 5 08:39:54 UTC 2014
#26723: Hatom Errors
---------------------------+-----------------------
Reporter: fidosysop | Owner:
Type: defect (bug) | Status: reopened
Priority: low | Milestone: 4.0
Component: Bundled Theme | Version: 3.8
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: template
---------------------------+-----------------------
Comment (by slobodanmanic):
According to http://microformats.org/wiki/hentry if there is no "updated",
then "published" should be used, if present.
So, in twentyfourteen_posted_on this patch adds "updated" class to "entry-
date" <time> element if updated time is not the same as published,
otherwise it creates new <time> element with "updated" class.
A few other updates, switched meta display in Ephemera widget to use
twentyfourteen_posted_on (the code used in widgets.php was identical to
template tag function) and also added twentyfourteen_posted_on to posts in
featured-content.php template part.
Also CSS updates to hide added "updated" and "entry-title" (in Links
Ephemera widget) elements.
It all validates now:
http://www.google.com/webmasters/tools/richsnippets?q=http%3A%2F%2Fagilepixels.com%2F
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26723#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list