From 75a36cb04010d532c71993bebd7a6460fcd78280 Mon Sep 17 00:00:00 2001 From: Glaydston Veloso Date: Wed, 9 Nov 2016 13:07:46 +0100 Subject: [PATCH] Add meda and data mobile default values --- wp-ffpc-class.php | 4 ++-- wp-ffpc.php | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wp-ffpc-class.php b/wp-ffpc-class.php index 4c13205..7cf4bc4 100644 --- a/wp-ffpc-class.php +++ b/wp-ffpc-class.php @@ -618,7 +618,7 @@ class WP_FFPC extends WP_FFPC_ABSTRACT {
- +
@@ -634,7 +634,7 @@ class WP_FFPC extends WP_FFPC_ABSTRACT {
- +
diff --git a/wp-ffpc.php b/wp-ffpc.php index 64f3a40..bd8db82 100644 --- a/wp-ffpc.php +++ b/wp-ffpc.php @@ -44,7 +44,9 @@ $wp_ffpc_defaults = array ( 'expire_taxonomy' => 300, 'invalidation_method' => 0, 'prefix_meta' => 'meta-', + 'prefix_meta_mobile' => 'meta-mobile-', 'prefix_data' => 'data-', + 'prefix_data_mobile' => 'data-mobile-', 'charset' => 'utf-8', 'log' => true, 'cache_type' => 'memcached', @@ -69,4 +71,4 @@ $wp_ffpc_defaults = array ( 'hashkey' => false, ); -$wp_ffpc = new WP_FFPC ( 'wp-ffpc', '1.11.2', 'WP-FFPC', $wp_ffpc_defaults, 'PeterMolnar_WordPressPlugins_wp-ffpc_HU' , 'WP-FFPC' , 'FA3NT7XDVHPWU' ); +$wp_ffpc = new WP_FFPC ( 'wp-ffpc', '1.12.0', 'WP-FFPC', $wp_ffpc_defaults, 'PeterMolnar_WordPressPlugins_wp-ffpc_HU' , 'WP-FFPC' , 'FA3NT7XDVHPWU' );