Ticket #39639: 39639-increase-cache-time-on-wp-get-available-translations.diff
File 39639-increase-cache-time-on-wp-get-available-translations.diff, 506 bytes (added by , 8 years ago) |
---|
-
wp-admin/includes/translation-install.php
134 134 } 135 135 136 136 if ( ! defined( 'WP_INSTALLING' ) ) { 137 set_site_transient( 'available_translations', $translations, 3 * HOUR_IN_SECONDS );137 set_site_transient( 'available_translations', $translations, DAY_IN_SECONDS ); 138 138 } 139 139 140 140 return $translations;