[wp-trac] [WordPress Trac] #22526: Changing category doesn't invalidate cache

WordPress Trac noreply at wordpress.org
Mon Feb 10 10:32:31 UTC 2014


#22526: Changing category doesn't invalidate cache
-----------------------------------------------+---------------------------
 Reporter:  Whissi                             |       Owner:
     Type:  defect (bug)                       |  wonderboymusic
 Priority:  normal                             |      Status:  reopened
Component:  Cache API                          |   Milestone:  3.9
 Severity:  normal                             |     Version:  3.4.2
 Keywords:  has-patch needs-docs dev-feedback  |  Resolution:
                                               |     Focuses:
-----------------------------------------------+---------------------------

Comment (by kovshenin):

 Sorry, re add vs set, I was only referring to the
 `get_taxonomy_last_changed()` function. You already check `$last_changed`.
 If that's false, then the value is not in cache, because `microtime()` can
 not return false, so you don't really need to delete.

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


More information about the wp-trac mailing list