Add meda and data mobile default values
This commit is contained in:
parent
510dd9ea25
commit
75a36cb040
2 changed files with 5 additions and 3 deletions
|
@ -618,7 +618,7 @@ class WP_FFPC extends WP_FFPC_ABSTRACT {
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>
|
<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>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<input type="text" name="prefix_data" id="prefix_data" value="<?php echo $this->options['prefix_data_mobile']; ?>" />
|
<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>
|
</dd>
|
||||||
|
|
||||||
<dt>
|
<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>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<input type="text" name="prefix_meta" id="prefix_meta" value="<?php echo $this->options['prefix_meta_mobile']; ?>" />
|
<input type="text" name="prefix_meta" id="prefix_meta" value="<?php echo $this->options['prefix_meta_mobile']; ?>" />
|
||||||
|
|
|
@ -44,7 +44,9 @@ $wp_ffpc_defaults = array (
|
||||||
'expire_taxonomy' => 300,
|
'expire_taxonomy' => 300,
|
||||||
'invalidation_method' => 0,
|
'invalidation_method' => 0,
|
||||||
'prefix_meta' => 'meta-',
|
'prefix_meta' => 'meta-',
|
||||||
|
'prefix_meta_mobile' => 'meta-mobile-',
|
||||||
'prefix_data' => 'data-',
|
'prefix_data' => 'data-',
|
||||||
|
'prefix_data_mobile' => 'data-mobile-',
|
||||||
'charset' => 'utf-8',
|
'charset' => 'utf-8',
|
||||||
'log' => true,
|
'log' => true,
|
||||||
'cache_type' => 'memcached',
|
'cache_type' => 'memcached',
|
||||||
|
@ -69,4 +71,4 @@ $wp_ffpc_defaults = array (
|
||||||
'hashkey' => false,
|
'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' );
|
||||||
|
|
Loading…
Reference in a new issue