[wp-trac] [WordPress Trac] #37464: Last changed helper function

WordPress Trac noreply at wordpress.org
Thu Oct 13 19:17:08 UTC 2016


#37464: Last changed helper function
----------------------------------------+--------------------------
 Reporter:  spacedmonkey                |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  4.7
Component:  Cache API                   |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  performance
----------------------------------------+--------------------------
Changes (by desrosj):

 * keywords:  has-patch needs-unit-tests needs-refresh => has-patch needs-
     unit-tests


Comment:

 Updated patch changes the function name to `wp_cache_get_last_changed()`
 and updates the Docblock.

 Would this function be something that needs to be pluggable for when other
 caching mechanisms are in use? If so, then maybe this should go in
 `cache.php` instead of `function.php`.

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


More information about the wp-trac mailing list