[wp-trac] [WordPress Trac] #4575: Add functions to return the last-modified timestamp of a category/tag

WordPress Trac noreply at wordpress.org
Thu Sep 21 20:40:51 UTC 2017


#4575: Add functions to return the last-modified timestamp of a category/tag
---------------------------------------------+--------------------------
 Reporter:  delusions                        |       Owner:  stevenkword
     Type:  enhancement                      |      Status:  assigned
 Priority:  normal                           |   Milestone:  4.9
Component:  Feeds                            |     Version:  2.2.1
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  template
---------------------------------------------+--------------------------
Changes (by stevenkword):

 * keywords:  has-patch needs-testing needs-unit-tests => has-patch has-
     unit-tests commit


Comment:

 Thanks for the patch @ryanshoover and congrats on your first core
 submission.  I like what you've done with the function as far as making it
 leaner, and I also agree with your approach to the filter situation.
 Since the filters mentioned by @spacedmonkey are applied elsewhere with
 slightly different use cases, I think adding a new filter to this method
 is a good solution.  While it would require plugin authors that are
 modifying this method to update their code, it would still provide them
 with a mechanism for doing so, which I think is the least of the evils.

 IMO, this is ready to go.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/4575#comment:63>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list