Contact Form by BestWebSoft - Version 3.88

Version Description

  • 06.03.2015 =
  • Bugfix : Bugs with syntax error and undefined function were fixed.
Download this release

Release Info

Developer bestwebsoft
Plugin Icon 128x128 Contact Form by BestWebSoft
Version 3.88
Comparing to
See all releases

Code changes from version 3.87 to 3.88

bws_menu/bws_functions.php CHANGED
@@ -96,8 +96,11 @@ if ( ! function_exists( 'bws_plugin_banner' ) ) {
96
  function bws_plugin_banner( $plugin_info, $this_banner_prefix, $link_slug, $link_key, $link_pn, $banner_url ) {
97
  global $wp_version, $bstwbsftwppdtplgns_cookie_add, $bstwbsftwppdtplgns_banner_array;
98
 
99
- if ( empty( $bstwbsftwppdtplgns_banner_array ) )
 
 
100
  bws_get_banner_array();
 
101
 
102
  if ( ! function_exists( 'is_plugin_active' ) )
103
  require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
@@ -663,7 +666,7 @@ if ( ! class_exists( 'BWS_add_admin_tooltip' ) ) {
663
  /* add ajax dismiss functionality */
664
  close : $.proxy(function () {
665
  if ( pointer_options['actions']['onload'] == true ) {
666
- $.post(ajaxurl, this);
667
  }
668
  }, {
669
  pointer: pointer_options['tooltip_id'],
@@ -682,7 +685,7 @@ if ( ! class_exists( 'BWS_add_admin_tooltip' ) ) {
682
  },
683
  }).pointer('open');
684
  /* display buttons that are not type of dismiss */
685
- for( var but in pointer_buttons ) {
686
  if ( typeof pointer_buttons[ but ]['type'] != 'undefined' && pointer_buttons[ but ]['type'] != 'dismiss' && typeof pointer_buttons[ but ]['text'] != 'undefined' && pointer_buttons[ but ]['text'] != '' ) {
687
  $('#pointer-close').after( '<a class="button-primary" style="margin-right: 5px;" ' +
688
  ( ( pointer_buttons[ but ]['type'] == 'link' && typeof pointer_buttons[ but ]['link'] != 'undefined' && pointer_buttons[ but ]['link'] != '') ? 'target="_blank" href="' + pointer_buttons[ but ]['link'] + '"' : '' )
@@ -714,7 +717,7 @@ if ( ! class_exists( 'BWS_add_admin_tooltip' ) ) {
714
  }
715
  })(jQuery);
716
  </script>
717
- <? }
718
  }
719
  }
720
 
96
  function bws_plugin_banner( $plugin_info, $this_banner_prefix, $link_slug, $link_key, $link_pn, $banner_url ) {
97
  global $wp_version, $bstwbsftwppdtplgns_cookie_add, $bstwbsftwppdtplgns_banner_array;
98
 
99
+ if ( empty( $bstwbsftwppdtplgns_banner_array ) ) {
100
+ if ( ! function_exists( 'bws_get_banner_array' ) )
101
+ require_once( dirname( __FILE__ ) . '/bws_menu.php' );
102
  bws_get_banner_array();
103
+ }
104
 
105
  if ( ! function_exists( 'is_plugin_active' ) )
106
  require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
666
  /* add ajax dismiss functionality */
667
  close : $.proxy(function () {
668
  if ( pointer_options['actions']['onload'] == true ) {
669
+ $.post( ajaxurl, this );
670
  }
671
  }, {
672
  pointer: pointer_options['tooltip_id'],
685
  },
686
  }).pointer('open');
687
  /* display buttons that are not type of dismiss */
688
+ for ( var but in pointer_buttons ) {
689
  if ( typeof pointer_buttons[ but ]['type'] != 'undefined' && pointer_buttons[ but ]['type'] != 'dismiss' && typeof pointer_buttons[ but ]['text'] != 'undefined' && pointer_buttons[ but ]['text'] != '' ) {
690
  $('#pointer-close').after( '<a class="button-primary" style="margin-right: 5px;" ' +
691
  ( ( pointer_buttons[ but ]['type'] == 'link' && typeof pointer_buttons[ but ]['link'] != 'undefined' && pointer_buttons[ but ]['link'] != '') ? 'target="_blank" href="' + pointer_buttons[ but ]['link'] + '"' : '' )
717
  }
718
  })(jQuery);
719
  </script>
720
+ <?php }
721
  }
722
  }
723
 
bws_menu/bws_menu.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
- * Version: 1.4.8
5
  */
6
 
7
  if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
+ * Version: 1.4.9
5
  */
6
 
7
  if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
contact_form.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Form
4
  Plugin URI: http://bestwebsoft.com/products/
5
  Description: Plugin for Contact Form.
6
  Author: BestWebSoft
7
- Version: 3.87
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
@@ -647,7 +647,7 @@ if ( ! function_exists( 'cntctfrm_settings_page' ) ) {
647
  if ( ! isset( $contact_form_multi_active ) && ! isset( $contact_form_multi_pro_active ) ) { ?>
648
  <h2 class="nav-tab-wrapper">
649
  <li class="nav-tab nav-tab-active">NEW_FORM</li>
650
- <a id="cntctfrm_show_multi_notice" class="nav-tab" target="_new" href="http://bestwebsoft.com/products/contact-form-multi/" title="<?php _e( "If you want to create multiple contact forms, please install the Contact Form Multi plugin.", 'contact_form' ); ?>">+</a>
651
  </h2>
652
  <?php }
653
  $form_action = ( ! isset( $_GET['action'] ) ) ? 'admin.php?page=contact_form.php' : 'admin.php?page=contact_form.php&amp;action=' . $_GET['action']; ?>
@@ -2191,7 +2191,7 @@ if ( ! function_exists ( 'cntctfrm_sanitize_string' ) ) {
2191
  if ( ! function_exists ( 'cntctfrm_admin_head' ) ) {
2192
  function cntctfrm_admin_head() {
2193
  if ( isset( $_REQUEST['page'] ) && ( 'contact_form.php' == $_REQUEST['page'] ) ) {
2194
- global $wp_version;
2195
 
2196
  wp_enqueue_style( 'cntctfrm_stylesheet', plugins_url( 'css/style.css', __FILE__ ) );
2197
 
@@ -2226,7 +2226,7 @@ if ( ! function_exists ( 'cntctfrm_admin_head' ) ) {
2226
  'buttons' => array(
2227
  array(
2228
  'type' => 'link',
2229
- 'link' => 'http://bestwebsoft.com/products/contact-form-multi/',
2230
  'text' => __( 'Learn more', 'contact_form' ),
2231
  ),
2232
  'close' => array(
@@ -2375,10 +2375,10 @@ if ( ! function_exists ( 'cntctfrm_plugin_banner' ) ) {
2375
  if ( 'plugins.php' == $hook_suffix ) {
2376
  global $cntctfrm_plugin_info, $wp_version, $bstwbsftwppdtplgns_cookie_add, $bstwbsftwppdtplgns_banner_array;
2377
  bws_plugin_banner( $cntctfrm_plugin_info, 'cntctfrm', 'contact-form', 'f575dc39cba54a9de88df346eed52101', '77', plugins_url( 'images/banner.png', __FILE__ ) );
2378
-
2379
  if ( empty( $bstwbsftwppdtplgns_banner_array ) )
2380
  bws_get_banner_array();
2381
-
2382
  if ( ! function_exists( 'is_plugin_active' ) )
2383
  require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
2384
 
4
  Plugin URI: http://bestwebsoft.com/products/
5
  Description: Plugin for Contact Form.
6
  Author: BestWebSoft
7
+ Version: 3.88
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
647
  if ( ! isset( $contact_form_multi_active ) && ! isset( $contact_form_multi_pro_active ) ) { ?>
648
  <h2 class="nav-tab-wrapper">
649
  <li class="nav-tab nav-tab-active">NEW_FORM</li>
650
+ <a id="cntctfrm_show_multi_notice" class="nav-tab" target="_new" href="http://bestwebsoft.com/products/contact-form-multi/?k=747ca825fb44711e2d24e40697747bc6&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" title="<?php _e( "If you want to create multiple contact forms, please install the Contact Form Multi plugin.", 'contact_form' ); ?>">+</a>
651
  </h2>
652
  <?php }
653
  $form_action = ( ! isset( $_GET['action'] ) ) ? 'admin.php?page=contact_form.php' : 'admin.php?page=contact_form.php&amp;action=' . $_GET['action']; ?>
2191
  if ( ! function_exists ( 'cntctfrm_admin_head' ) ) {
2192
  function cntctfrm_admin_head() {
2193
  if ( isset( $_REQUEST['page'] ) && ( 'contact_form.php' == $_REQUEST['page'] ) ) {
2194
+ global $wp_version, $cntctfrm_plugin_info;
2195
 
2196
  wp_enqueue_style( 'cntctfrm_stylesheet', plugins_url( 'css/style.css', __FILE__ ) );
2197
 
2226
  'buttons' => array(
2227
  array(
2228
  'type' => 'link',
2229
+ 'link' => 'http://bestwebsoft.com/products/contact-form-multi/?k=747ca825fb44711e2d24e40697747bc6&pn=77&v=' . $cntctfrm_plugin_info["Version"] . '&wp_v=' . $wp_version,
2230
  'text' => __( 'Learn more', 'contact_form' ),
2231
  ),
2232
  'close' => array(
2375
  if ( 'plugins.php' == $hook_suffix ) {
2376
  global $cntctfrm_plugin_info, $wp_version, $bstwbsftwppdtplgns_cookie_add, $bstwbsftwppdtplgns_banner_array;
2377
  bws_plugin_banner( $cntctfrm_plugin_info, 'cntctfrm', 'contact-form', 'f575dc39cba54a9de88df346eed52101', '77', plugins_url( 'images/banner.png', __FILE__ ) );
2378
+
2379
  if ( empty( $bstwbsftwppdtplgns_banner_array ) )
2380
  bws_get_banner_array();
2381
+
2382
  if ( ! function_exists( 'is_plugin_active' ) )
2383
  require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
2384
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=1&
4
  Tags: attachment, contact, contatc, conact, cnotact, contact button, contact form, contact form plugin, contact me, contacts, contacts form plugin, copy, feedback, feedback form, form, insert the shortcode, post feedback, request, send, send copy, send messages, shortcode, text, web-page feedback
5
  Requires at least: 3.1
6
  Tested up to: 4.1.1
7
- Stable tag: 3.87
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -152,6 +152,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<a hre
152
 
153
  == Changelog ==
154
 
 
 
 
155
  = V3.87 - 05.03.2015 =
156
  * Bugfix : Error with option name when Contact Form Multi plugin is activated was fixed.
157
  * Update : Plugin performance was improved.
@@ -545,6 +548,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<a hre
545
 
546
  == Upgrade Notice ==
547
 
 
 
 
548
  = V3.87 =
549
  Error with option name when Contact Form Multi plugin is activated was fixed. Plugin performance was improved. BWS plugins section was updated. The French language file is updated.
550
 
4
  Tags: attachment, contact, contatc, conact, cnotact, contact button, contact form, contact form plugin, contact me, contacts, contacts form plugin, copy, feedback, feedback form, form, insert the shortcode, post feedback, request, send, send copy, send messages, shortcode, text, web-page feedback
5
  Requires at least: 3.1
6
  Tested up to: 4.1.1
7
+ Stable tag: 3.88
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
152
 
153
  == Changelog ==
154
 
155
+ = V3.88 - 06.03.2015 =
156
+ * Bugfix : Bugs with syntax error and undefined function were fixed.
157
+
158
  = V3.87 - 05.03.2015 =
159
  * Bugfix : Error with option name when Contact Form Multi plugin is activated was fixed.
160
  * Update : Plugin performance was improved.
548
 
549
  == Upgrade Notice ==
550
 
551
+ = V3.88 =
552
+ Bugs with syntax error and undefined function were fixed.
553
+
554
  = V3.87 =
555
  Error with option name when Contact Form Multi plugin is activated was fixed. Plugin performance was improved. BWS plugins section was updated. The French language file is updated.
556