Add meda and data mobile default values

This commit is contained in:
Glaydston Veloso 2016-11-09 13:07:46 +01:00
parent 510dd9ea25
commit 75a36cb040
2 changed files with 5 additions and 3 deletions

View file

@ -618,7 +618,7 @@ class WP_FFPC extends WP_FFPC_ABSTRACT {
</dd>
<dt>
<label for="prefix_data"><?php _e('Mobile Data prefix', 'wp-ffpc'); ?></label>
<label for="prefix_data"><?php _e('Mobile data prefix', 'wp-ffpc'); ?></label>
</dt>
<dd>
<input type="text" name="prefix_data" id="prefix_data" value="<?php echo $this->options['prefix_data_mobile']; ?>" />
@ -634,7 +634,7 @@ class WP_FFPC extends WP_FFPC_ABSTRACT {
</dd>
<dt>
<label for="prefix_meta"><?php _e('Mobile eta prefix', 'wp-ffpc'); ?></label>
<label for="prefix_meta"><?php _e('Mobile meta prefix', 'wp-ffpc'); ?></label>
</dt>
<dd>
<input type="text" name="prefix_meta" id="prefix_meta" value="<?php echo $this->options['prefix_meta_mobile']; ?>" />

View file

@ -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' );