Contact Form by BestWebSoft - Version 3.89

Version Description

  • 13.03.2015 =
  • Bugfix : Bug with undefined function on plugin's settings page was fixed.
Download this release

Release Info

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

Code changes from version 3.88 to 3.89

bws_menu/bws_functions.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * General functions for BestWebSoft plugins
4
- * Version: 1.0.1
5
  */
6
  if ( ! function_exists ( 'bws_add_general_menu' ) ) {
7
  function bws_add_general_menu( $base ) {
@@ -182,7 +182,7 @@ if ( ! function_exists( 'bws_go_pro_tab_check' ) ) {
182
  $result['error'] = __( "Wrong license key", 'bestwebsoft' );
183
  } else {
184
  $bws_license_plugin = stripslashes( esc_html( $_POST['bws_license_plugin'] ) );
185
- if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) && $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] < ( time() + (24 * 60 * 60) ) ) {
186
  $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] = $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] + 1;
187
  } else {
188
  $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] = 1;
@@ -343,7 +343,7 @@ if ( ! function_exists( 'bws_go_pro_tab' ) ) {
343
  </p>
344
  <?php if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) &&
345
  '5' < $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] &&
346
- $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] < ( time() + ( 24 * 60 * 60 ) ) ) { ?>
347
  <p>
348
  <input disabled="disabled" type="text" name="bws_license_key" value="<?php echo $bws_license_key; ?>" />
349
  <input disabled="disabled" type="submit" class="button-primary" value="<?php _e( 'Activate', 'bestwebsoft' ); ?>" />
@@ -591,7 +591,17 @@ if ( ! class_exists( 'BWS_add_admin_tooltip' ) ) {
591
  'zindex' => 10000
592
  ),
593
  );
594
- $tooltip_args = array_replace_recursive( $tooltip_args_default, $tooltip_args );
 
 
 
 
 
 
 
 
 
 
595
  /* Check if tooltip is dismissed */
596
  if ( true === $tooltip_args['actions']['onload'] ) {
597
  if ( in_array( $tooltip_args['tooltip_id'], array_filter( explode( ',', (string) get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) ) ) ) ) {
1
  <?php
2
  /*
3
  * General functions for BestWebSoft plugins
4
+ * Version: 1.0.2
5
  */
6
  if ( ! function_exists ( 'bws_add_general_menu' ) ) {
7
  function bws_add_general_menu( $base ) {
182
  $result['error'] = __( "Wrong license key", 'bestwebsoft' );
183
  } else {
184
  $bws_license_plugin = stripslashes( esc_html( $_POST['bws_license_plugin'] ) );
185
+ if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) && $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] > ( time() - (24 * 60 * 60) ) ) {
186
  $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] = $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] + 1;
187
  } else {
188
  $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] = 1;
343
  </p>
344
  <?php if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) &&
345
  '5' < $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] &&
346
+ $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] > ( time() - ( 24 * 60 * 60 ) ) ) { ?>
347
  <p>
348
  <input disabled="disabled" type="text" name="bws_license_key" value="<?php echo $bws_license_key; ?>" />
349
  <input disabled="disabled" type="submit" class="button-primary" value="<?php _e( 'Activate', 'bestwebsoft' ); ?>" />
591
  'zindex' => 10000
592
  ),
593
  );
594
+ $tooltip_args = array_merge( $tooltip_args_default, $tooltip_args );
595
+ /* Check that our merged array has default values */
596
+ foreach ( $tooltip_args_default as $arg_key => $arg_value ) {
597
+ if ( is_array( $arg_value ) ) {
598
+ foreach ( $arg_value as $key => $value) {
599
+ if ( ! isset( $tooltip_args[ $arg_key ][ $key ] ) ) {
600
+ $tooltip_args[ $arg_key ][ $key ] = $tooltip_args_default[ $arg_key ][ $key ];
601
+ }
602
+ }
603
+ }
604
+ }
605
  /* Check if tooltip is dismissed */
606
  if ( true === $tooltip_args['actions']['onload'] ) {
607
  if ( in_array( $tooltip_args['tooltip_id'], array_filter( explode( ',', (string) get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) ) ) ) ) {
bws_menu/bws_menu.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
- * Version: 1.4.9
5
  */
6
 
7
  if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
+ * Version: 1.5.0
5
  */
6
 
7
  if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
bws_menu/icons/bws-popular-posts.png CHANGED
File without changes
bws_menu/icons/bws-smtp.png CHANGED
File without changes
bws_menu/icons/email-queue.png CHANGED
File without changes
bws_menu/icons/job-board.png CHANGED
File without changes
bws_menu/icons/multilanguage.png CHANGED
File without changes
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.88
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
@@ -77,7 +77,7 @@ if ( ! function_exists ( 'cntctfrm_admin_init' ) ) {
77
  /* Register settings for plugin */
78
  if ( ! function_exists( 'cntctfrm_settings' ) ) {
79
  function cntctfrm_settings() {
80
- global $cntctfrm_options, $cntctfrm_option_defaults, $wpdb, $bws_plugin_info, $cntctfrm_plugin_info;
81
  $cntctfrm_db_version = "1.0";
82
 
83
  if ( ! $cntctfrm_plugin_info )
@@ -2388,7 +2388,7 @@ if ( ! function_exists ( 'cntctfrm_plugin_banner' ) ) {
2388
  foreach ( $bstwbsftwppdtplgns_banner_array as $key => $value ) {
2389
  if ( $this_banner == $value[0] ) {
2390
  if ( ! isset( $bstwbsftwppdtplgns_cookie_add ) ) {
2391
- echo '<script type="text/javascript" src="' . plugins_url( 'js/c_o_o_k_i_e.js', __FILE__ ) . '"></script>';
2392
  $bstwbsftwppdtplgns_cookie_add = true;
2393
  } ?>
2394
  <script type="text/javascript">
4
  Plugin URI: http://bestwebsoft.com/products/
5
  Description: Plugin for Contact Form.
6
  Author: BestWebSoft
7
+ Version: 3.89
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
77
  /* Register settings for plugin */
78
  if ( ! function_exists( 'cntctfrm_settings' ) ) {
79
  function cntctfrm_settings() {
80
+ global $cntctfrm_options, $cntctfrm_option_defaults, $cntctfrm_plugin_info;
81
  $cntctfrm_db_version = "1.0";
82
 
83
  if ( ! $cntctfrm_plugin_info )
2388
  foreach ( $bstwbsftwppdtplgns_banner_array as $key => $value ) {
2389
  if ( $this_banner == $value[0] ) {
2390
  if ( ! isset( $bstwbsftwppdtplgns_cookie_add ) ) {
2391
+ echo '<script type="text/javascript" src="' . plugins_url( '/bws_menu/js/c_o_o_k_i_e.js', __FILE__ ) . '"></script>';
2392
  $bstwbsftwppdtplgns_cookie_add = true;
2393
  } ?>
2394
  <script type="text/javascript">
languages/contact_form-el.mo CHANGED
File without changes
languages/contact_form-el.po CHANGED
File without changes
languages/contact_form-nb_NO.mo CHANGED
File without changes
languages/contact_form-nb_NO.po CHANGED
File without changes
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.88
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.88 - 06.03.2015 =
156
  * Bugfix : Bugs with syntax error and undefined function were fixed.
157
 
@@ -548,6 +551,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<a hre
548
 
549
  == Upgrade Notice ==
550
 
 
 
 
551
  = V3.88 =
552
  Bugs with syntax error and undefined function were fixed.
553
 
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.89
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
152
 
153
  == Changelog ==
154
 
155
+ = V3.89 - 13.03.2015 =
156
+ * Bugfix : Bug with undefined function on plugin's settings page was fixed.
157
+
158
  = V3.88 - 06.03.2015 =
159
  * Bugfix : Bugs with syntax error and undefined function were fixed.
160
 
551
 
552
  == Upgrade Notice ==
553
 
554
+ = V3.89 =
555
+ Bug with undefined function on plugin's settings page was fixed.
556
+
557
  = V3.88 =
558
  Bugs with syntax error and undefined function were fixed.
559