Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #59719, comment 19


Ignore:
Timestamp:
01/08/2024 08:58:34 PM (5 months ago)
Author:
spacedmonkey
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59719, comment 19

    initial v1  
    1111
    1212
    13 We should make sure that all cache invalidation happens in the [https://developer.wordpress.org/reference/classes/wp_theme/cache_delete/ WP_Theme::cache_delete()] method. This is called [https://github.com/search?q=repo%3AWordPress%2Fwordpress-develop+-%3Ecache_delete+&type=code throughout] core and likely by [https://www.wpdirectory.net/search/01HKNDQ3Z1XXF4AMG2XA8P12RW third party plugins].
     13We should make sure that all cache invalidation happens in the [https://developer.wordpress.org/reference/classes/wp_theme/cache_delete/ WP_Theme::cache_delete()] method. This is called [https://github.com/search?q=repo%3AWordPress%2Fwordpress-develop+-%3Ecache_delete+&type=code throughout] core and by [https://www.wpdirectory.net/search/01HKNDQ3Z1XXF4AMG2XA8P12RW third party plugins].
    1414
    1515Until we "solved" the cache invalidation problem, we CANNOT use `site_transient` functions to cache this data. I have outlined a fix [https://core.trac.wordpress.org/ticket/59719?replyto=18#comment:17 here], but I am open to other ideas.