Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #26723, comment 11


Ignore:
Timestamp:
06/05/2014 08:43:25 AM (11 years ago)
Author:
slobodanmanic
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26723, comment 11

    v1 v2  
    1 According to http://microformats.org/wiki/hentry if there is no "updated", then "published" should be used, if present.
     1According to http://microformats.org/wiki/hentry if there is no "updated", then "published" should be used, if present:
     2
     3{{{
     4if there is no Entry Updated element,
     5use the Entry Published element, if present
     6otherwise the page is invalid hAtom
     7}}}
    28
    39So, 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.