[wp-trac] [WordPress Trac] #4575: Add functions to return the last-modified timestamp of a category/tag
WordPress Trac
noreply at wordpress.org
Wed Jan 14 16:38:57 UTC 2015
#4575: Add functions to return the last-modified timestamp of a category/tag
----------------------------------------+-----------------------------
Reporter: delusions | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Taxonomy | Version: 2.2.1
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses: template
----------------------------------------+-----------------------------
Comment (by Denis-de-Bernardy):
Replying to [comment:13 theMikeD]:
> If someone can tell me how to duplicate/reveal this issue so I can see
it, I'll take a crack at it.
As I understand the ticket, it's about the last modified date advertised
by the feeds. Currently (or when this was posted anyway), WP sets it to
the last post's date or to the last post's modified date (or to whatever
else... I'm not sure which.)
OP suggests it should be set to the the same in the appropriate category
or tag instead.
In the event the issue is still around, an alternative fix (which would
likely be better and for all feeds if this hasn't been done already) would
be to use the latest last modified date from any post that appears in that
feed (i.e. loop through the main loop's post, and extract the maximum
modified date). This for any type of feed, ideally -- including the main
ones and comment feeds.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/4575#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list