From 3f65b2523a34bc5a170bc16ddaf7c802d1f38fb3 Mon Sep 17 00:00:00 2001 From: Kimberly Date: Sun, 29 Jan 2017 13:24:03 -0500 Subject: [PATCH 1/2] Cloudflare SSL Settings Save Failure --- Extension_CloudFlare_SettingsForUi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extension_CloudFlare_SettingsForUi.php b/Extension_CloudFlare_SettingsForUi.php index e7b66cd..9169836 100644 --- a/Extension_CloudFlare_SettingsForUi.php +++ b/Extension_CloudFlare_SettingsForUi.php @@ -90,7 +90,7 @@ static public function settings_set( $api ) { // convert checkbox value to on/off // excetion: rocket loader is not checkbox so contains real value - if ( $settings_key != 'rocket_loader' ) { + if ( $settings_key != 'rocket_loader' && $settings_key != 'ssl' ) { if ( $current_value == 'on' || $current_value == 'off' ) { // it's boolean, so control is checkbox - convert it $value = ( $value == '0' ? 'off' : 'on' ); From d652db7c2f7c2c8feeb64502141e6382f794ed2d Mon Sep 17 00:00:00 2001 From: Kimberly Date: Sun, 29 Jan 2017 14:00:32 -0500 Subject: [PATCH 2/2] text --- Extension_CloudFlare_Page_View.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Extension_CloudFlare_Page_View.php b/Extension_CloudFlare_Page_View.php index 0bee6e2..ebb9835 100644 --- a/Extension_CloudFlare_Page_View.php +++ b/Extension_CloudFlare_Page_View.php @@ -116,8 +116,7 @@ 'label' => __( 'Cache time:', 'w3-total-cache' ), 'control' => 'textbox', 'description' => - 'How many minutes data retrieved from CloudFlare:' . - 'should be stored. Minimum is 1 minute.' + 'How many minutes data retrieved from CloudFlare should be stored. Minimum is 1 minute.' ) );