Forms by CaptainForm – Form Builder for WordPress - Version 2.4.1

Version Description

(05 February 2019) = * Update support widget

Download this release

Release Info

Developer 123contactform
Plugin Icon 128x128 Forms by CaptainForm – Form Builder for WordPress
Version 2.4.1
Comparing to
See all releases

Code changes from version 2.4 to 2.4.1

admin/partials/captainform-admin-display.php CHANGED
@@ -21,7 +21,7 @@
21
  </script>
22
 
23
  <?php
24
- // include_once plugin_dir_path( dirname( __FILE__ ) ) . 'partials/captainform-support-chat.php';
25
  ?>
26
 
27
  <iframe
21
  </script>
22
 
23
  <?php
24
+ include_once plugin_dir_path( dirname( __FILE__ ) ) . 'partials/captainform-support-chat.php';
25
  ?>
26
 
27
  <iframe
admin/partials/captainform-support-chat.php CHANGED
@@ -1,25 +1,23 @@
1
- <div id="captainform-support-widget-container">
2
- <?php
3
- $hideChatButton = false;
4
- $url = $iframe_url . '&getSupportButtonScripts=true';
5
- function get_data($url) {
6
- $ch = curl_init();
7
- $timeout = 5;
8
- curl_setopt($ch, CURLOPT_URL, $url);
9
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
10
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
11
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
12
- $data = curl_exec($ch);
13
- curl_close($ch);
14
- return $data;
15
- }
16
- if ( is_callable('curl_init') ) {
17
- $returned_content = get_data($url);
18
- } else {
19
- $returned_content = file_get_contents($url);
20
- }
21
 
22
- $s = strpos($returned_content, 'SnapABug_Button');
23
- if ( $s !== false ) { $hideChatButton = true; print $returned_content; }
24
- ?>
25
- </div>
1
+ <?php
2
+ $hideChatButton = false;
3
+ $url = $iframe_url . '&getSupportButtonScripts=true';
4
+ function get_data($url) {
5
+ $ch = curl_init();
6
+ $timeout = 5;
7
+ curl_setopt($ch, CURLOPT_URL, $url);
8
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
9
+ curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
10
+ curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
11
+ $data = curl_exec($ch);
12
+ curl_close($ch);
13
+ return $data;
14
+ }
15
+ if ( is_callable('curl_init') ) {
16
+ $returned_content = get_data($url);
17
+ } else {
18
+ $returned_content = file_get_contents($url);
19
+ }
 
20
 
21
+ $s = strpos($returned_content, 'SnapABug_Button');
22
+ if ( $s !== false ) { $hideChatButton = true; print $returned_content; }
23
+ ?>
 
captainform.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: CaptainForm
17
  * Plugin URI: http://captainform.com
18
  * Description: CaptainForm is a fully-featured WordPress form plugin created for web designers, developers, and also for non-tech savvy users.
19
- * Version: 2.4
20
  * Author: captainform
21
  * Author URI: https://profiles.wordpress.org/captainform
22
  * License: GPL-2.0+
16
  * Plugin Name: CaptainForm
17
  * Plugin URI: http://captainform.com
18
  * Description: CaptainForm is a fully-featured WordPress form plugin created for web designers, developers, and also for non-tech savvy users.
19
+ * Version: 2.4.1
20
  * Author: captainform
21
  * Author URI: https://profiles.wordpress.org/captainform
22
  * License: GPL-2.0+
includes/class-captainform.php CHANGED
@@ -105,7 +105,7 @@ class Captainform {
105
  public function __construct() {
106
 
107
  $this->plugin_name = 'captainform';
108
- $this->version = '2.4';
109
 
110
  $this->load_dependencies();
111
  $this->set_locale();
105
  public function __construct() {
106
 
107
  $this->plugin_name = 'captainform';
108
+ $this->version = '2.4.1';
109
 
110
  $this->load_dependencies();
111
  $this->set_locale();
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
- === Forms by CaptainForm - Form Builder for WordPress ===
2
 
3
  Contributors: captainform, 123contactform
4
  Tags: CaptainForm, contact form, drag-and-drop, file upload forms, form builder plugin, newsletter subscription, order form, payment form, paypal form, popup form, registration form, secure forms, survey,form builder, event registration, survey, feedback form,booking form, poll, quiz, PayPal form
5
  Requires at least: 3.9
6
- PHP version: 7.2
7
  Tested up to: 4.9
 
8
  Stable tag: trunk
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -462,7 +462,7 @@ You need to buy a license key. Choose the service plan that you want to use and
462
 
463
  = How do I change service plans? =
464
 
465
- When your needs become different, you can change your service plan the same way you have upgraded the plugin the first time. Click on the Upgrade button of the service plan that you are interested in and complete the payment in 2CheckOut or click on the Downgrade button and fill out the form which will put you in contact with our Support Team and they will manually downgrade your subscription. You can best compare service plans in our Features Matrix.
466
 
467
  = How long is the license key valid? =
468
 
@@ -482,6 +482,9 @@ We support MasterCard, Visa, PayPal, American Express, JCB, Discover/Novus and D
482
  Click on the Cancel subscription button in the My Account section and fill out the cancellation form. All premium features will be deactivated when your license key will expire. You can upgrade again at any time by purchasing a new license key.
483
 
484
  == Changelog ==
 
 
 
485
  = 2.4 (04 February 2019) =
486
  * Modified the way the support widget is loaded on plugin's admin pages
487
 
1
+ === Forms by CaptainForm - Form Builder for WordPress ===
2
 
3
  Contributors: captainform, 123contactform
4
  Tags: CaptainForm, contact form, drag-and-drop, file upload forms, form builder plugin, newsletter subscription, order form, payment form, paypal form, popup form, registration form, secure forms, survey,form builder, event registration, survey, feedback form,booking form, poll, quiz, PayPal form
5
  Requires at least: 3.9
 
6
  Tested up to: 4.9
7
+ Requires PHP: 5.3
8
  Stable tag: trunk
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
462
 
463
  = How do I change service plans? =
464
 
465
+ When your needs become different, you can change your service plan the same way you have upgraded the plugin the first time. Click on the Upgrade button of the service plan that you are interested in and complete the payment in 2CheckOut or click on the Downgrade button and fill out the form which will put you in contact with our Support Team and they will manually downgrade your subscription. You can best compare service plans in our [Features Matrix](http://www.captainform.com/features-matrix/).
466
 
467
  = How long is the license key valid? =
468
 
482
  Click on the Cancel subscription button in the My Account section and fill out the cancellation form. All premium features will be deactivated when your license key will expire. You can upgrade again at any time by purchasing a new license key.
483
 
484
  == Changelog ==
485
+ = 2.4.1 (05 February 2019) =
486
+ * Update support widget
487
+
488
  = 2.4 (04 February 2019) =
489
  * Modified the way the support widget is loaded on plugin's admin pages
490