Changeset 12828
- Timestamp:
- 08/10/2023 06:03:28 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/translations/lib.php
r12827 r12828 321 321 $languages = wp_cache_get( $cache_key, $cache_group, false, $found ); 322 322 if ( $found ) { 323 apcu_store( "{$cache_group}:{$cache_key}", $ translated_languages, $apcu_cache_time );323 apcu_store( "{$cache_group}:{$cache_key}", $languages, $apcu_cache_time ); 324 324 } 325 325 } … … 337 337 338 338 apcu_store( "{$cache_group}:{$cache_key}", $languages, $apcu_cache_time ); 339 wp_cache_add( $cache_key, $ translated_languages, $cache_group, $cache_time );339 wp_cache_add( $cache_key, $languages, $cache_group, $cache_time ); 340 340 } 341 341
Note: See TracChangeset
for help on using the changeset viewer.