Make WordPress Core


Ignore:
Timestamp:
03/14/2024 09:04:00 AM (11 months ago)
Author:
swissspidy
Message:

I18N: Improve translation file cache group & expiration.

Adds an explicit 1 hour expiration for the translation file cache introduced in [57287] / #58919.
This prevents stale caches when a site does not use the regular way of installing language packs, for example when an atomic filesystem is involved.
Also configures the translation_files group as a global cache group on multisite.

Props dd32.
Fixes #60764.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/load.php

    r57773 r57831  
    877877                'site-transient',
    878878                'theme_files',
     879                'translation_files',
    879880                'rss',
    880881                'users',
Note: See TracChangeset for help on using the changeset viewer.