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

WordPress Trac noreply at wordpress.org
Wed Apr 17 16:59:25 UTC 2019


#4575: Add functions to return the last-modified timestamp of a category/tag
-----------------------------------------+------------------------------
 Reporter:  delusions                    |       Owner:  adamsilverstein
     Type:  enhancement                  |      Status:  reopened
 Priority:  normal                       |   Milestone:  5.2
Component:  Feeds                        |     Version:  2.2.1
 Severity:  normal                       |  Resolution:
 Keywords:  dev-feedback needs-dev-note  |     Focuses:  template
-----------------------------------------+------------------------------

Comment (by adamsilverstein):

 [attachment:"4575.15.diff"] is an array based version for comparison. The
 array_map version in [attachment:"4575.14.diff"] feels more elegant to me
 though.

 > save the breaking change for something more important

 I'm not really sure [attachment:"4575.14.diff"] ''is'' a breaking change,
 it will only land in WP 5.2, which **requires** PHP 5.6 - how do you see
 this as a breaking change? To me it is more about using modern coding
 practices for new code.

 Also appreciate any help you can provide testing that the dates still show
 up as you expect them to in the feeds.

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


More information about the wp-trac mailing list