Make WordPress Core


Ignore:
Timestamp:
03/15/2024 11:17:54 AM (2 years 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.

Reviewed by swissspidy.
Merges [57831] to the to the 6.5 branch.

Props dd32.
Fixes #60764.

Location:
branches/6.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.5

  • branches/6.5/src/wp-includes/load.php

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