[wp-trac] [WordPress Trac] #4575: Add functions to return the last-modified timestamp of a category/tag
WordPress Trac
noreply at wordpress.org
Wed Feb 27 21:52:49 UTC 2019
#4575: Add functions to return the last-modified timestamp of a category/tag
-------------------------------------------------+-------------------------
Reporter: delusions | Owner:
| adamsilverstein
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.2
Component: Feeds | Version: 2.2.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses: template
early |
-------------------------------------------------+-------------------------
Comment (by spacedmonkey):
@adamsilverstein Just did some testing and two things. Firstly, the
datetime does pad 0 in front of months, for this date as an example
`2019-01-22 23:40:59`. So I don't think it is possible to max to fail. But
I can change the tests, so that test posts are from different months. So I
don't think that strtotime array map is required.
I will change up the tests a bit, but I am not personally sure it is
required...
--
Ticket URL: <https://core.trac.wordpress.org/ticket/4575#comment:81>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list