PluginProbe
Translation with DeepL API / trunk
Translation with DeepL API vtrunk
trunk 0.1.20180323 1.0 1.2.5.1 1.5.2.5 1.7.5 2.4.3.12 2.4.3.9 2.4.5
← All changes | client/deepl-data.class.php +1 -1 2.4.3.12trunk View file →
@@ -1,6 +1,6 @@
1 1 <?php
2 -
2 +if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3 3 abstract class DeepLData {
4 4 public $allow_cache = true;
5 5
6 6 protected function isCacheValid( $cache_file, $max_age = false ) {