Changeset 10446
- Timestamp:
- 11/12/2020 06:48:44 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-i18n.php
r10445 r10446 383 383 } 384 384 385 $cache_suffix = "{$locale}:{$key}";386 387 // Try the cache.388 if ( false !== ( $cache = $this->cache_get( $slug, $branch, $cache_suffix ) ) ) {389 // DEBUG390 // var_dump( array( $slug, $branch, $cache_suffix, $cache ) );391 return $cache;392 }393 394 385 $originals = $this->get_gp_originals( $slug, $branch, $key, $content ); 395 386 … … 423 414 // Translate the marked originals. 424 415 $content = $this->translate_marked_gp_originals( $content, $translations, $originals ); 425 426 $this->cache_set( $slug, $branch, $content, $cache_suffix );427 416 428 417 return $content;
Note: See TracChangeset
for help on using the changeset viewer.