Add Mobile Detect #65
2 changed files with 3 additions and 2 deletions
|
@ -150,7 +150,7 @@ if ( $wp_ffpc_backend->status() === false ) {
|
|||
include_once ('backends/mobile-detect.php');
|
||||
$mobile_detect = new Mobile_Detect;
|
||||
/* verify if mobile device (phones or tablets). */
|
||||
$wp_ffpc_keys = ($mobile_detect->isMobile() ?
|
||||
$wp_ffpc_keys = $mobile_detect->isMobile() ?
|
||||
array ( 'meta' => $wp_ffpc_config['prefix_meta_mobile'], 'data' => $wp_ffpc_config['prefix_data_mobile'] ) :
|
||||
array ( 'meta' => $wp_ffpc_config['prefix_meta'], 'data' => $wp_ffpc_config['prefix_data']);
|
||||
|
||||
|
|
|
@ -713,7 +713,8 @@ class WP_FFPC extends WP_FFPC_ABSTRACT {
|
|||
</dd>
|
||||
|
||||
<dt>
|
||||
<?php _e("Excludes", 'wp-ffpc'); ?></label>
|
||||
<label><?php _e("Excludes", 'wp-ffpc'); ?></label>
|
||||
</dt>
|
||||
<dd>
|
||||
<table style="width:100%">
|
||||
<thead>
|
||||
|
|
Loading…
Reference in a new issue