Form builder to get in touch with visitors, grow your email list and collect payments — Happyforms - Version 1.8.13

Version Description

  • Bugfix: Fixed error caused by admin notices during Wp Cron task execution.
Download this release

Release Info

Developer thethemefoundry
Plugin Icon 128x128 Form builder to get in touch with visitors, grow your email list and collect payments — Happyforms
Version 1.8.13
Comparing to
See all releases

Code changes from version 1.8.12 to 1.8.13

happyforms.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin URI: https://happyforms.me
6
  * Description: Your friendly drag and drop contact form builder for creating contact forms, lead generation forms, feedback forms, quote forms, survey forms and more!
7
  * Author: The Theme Foundry
8
- * Version: 1.8.12
9
  * Author URI: https://thethemefoundry.com
10
  * Upgrade URI: https://thethemefoundry.com
11
  */
@@ -13,7 +13,7 @@
13
  /**
14
  * The current version of the plugin.
15
  */
16
- define( 'HAPPYFORMS_VERSION', '1.8.12' );
17
 
18
  if ( ! function_exists( 'happyforms_plugin_file' ) ):
19
  /**
5
  * Plugin URI: https://happyforms.me
6
  * Description: Your friendly drag and drop contact form builder for creating contact forms, lead generation forms, feedback forms, quote forms, survey forms and more!
7
  * Author: The Theme Foundry
8
+ * Version: 1.8.13
9
  * Author URI: https://thethemefoundry.com
10
  * Upgrade URI: https://thethemefoundry.com
11
  */
13
  /**
14
  * The current version of the plugin.
15
  */
16
+ define( 'HAPPYFORMS_VERSION', '1.8.13' );
17
 
18
  if ( ! function_exists( 'happyforms_plugin_file' ) ):
19
  /**
inc/classes/class-happyforms.php CHANGED
@@ -12,7 +12,7 @@ class HappyForms extends HappyForms_Core {
12
  add_filter( 'happyforms_setup_controls', array( $this, 'add_dummy_setup_controls' ) );
13
  add_action( 'admin_print_footer_scripts', array( $this, 'print_upgrade_modals' ) );
14
  add_action( 'parse_request', array( $this, 'parse_archive_request' ) );
15
- add_action( 'current_screen', array( $this, 'display_notices' ) );
16
 
17
  $this->register_dummy_parts();
18
  $this->add_setup_logic_upgrade_links();
@@ -336,13 +336,13 @@ class HappyForms extends HappyForms_Core {
336
  $form_date = new DateTime( $form['post_date'] );
337
  $now = new DateTime();
338
  $difference = $now->diff( $form_date );
339
- $hours = $difference->format( '%h' );
340
  $days = $difference->format( '%d' );
341
 
342
  if ( 3 > intval( $days ) ) {
343
  return;
344
  }
345
 
 
346
  $review_link = 'https://wordpress.org/support/plugin/happyforms/reviews/?filter=5#new-post';
347
  $upgrade_link = 'https://happyforms.me/upgrade';
348
 
12
  add_filter( 'happyforms_setup_controls', array( $this, 'add_dummy_setup_controls' ) );
13
  add_action( 'admin_print_footer_scripts', array( $this, 'print_upgrade_modals' ) );
14
  add_action( 'parse_request', array( $this, 'parse_archive_request' ) );
15
+ add_action( 'admin_notices', array( $this, 'display_notices' ) );
16
 
17
  $this->register_dummy_parts();
18
  $this->add_setup_logic_upgrade_links();
336
  $form_date = new DateTime( $form['post_date'] );
337
  $now = new DateTime();
338
  $difference = $now->diff( $form_date );
 
339
  $days = $difference->format( '%d' );
340
 
341
  if ( 3 > intval( $days ) ) {
342
  return;
343
  }
344
 
345
+ $hours = intval( $days ) * 16;
346
  $review_link = 'https://wordpress.org/support/plugin/happyforms/reviews/?filter=5#new-post';
347
  $upgrade_link = 'https://happyforms.me/upgrade';
348
 
languages/happyforms.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the HappyForms package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: HappyForms 1.8.12\n"
6
  "Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
7
- "POT-Creation-Date: 2019-07-30 09:09:35+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the same license as the HappyForms package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: HappyForms 1.8.13\n"
6
  "Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
7
+ "POT-Creation-Date: 2019-08-01 09:24:15+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: contact, contact form, email, feedback form, form, form builder, custom fo
5
  Requires at least: 4.8
6
  Tested up to: 5.2
7
  Requires PHP: 5.3
8
- Stable tag: 1.8.12
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -98,6 +98,9 @@ Yep! HappyForms free isn't going anywhere but for those looking for even more yo
98
 
99
  == Changelog ==
100
 
 
 
 
101
  = 1.8.12 =
102
  * Bugfix: Fixed error caused by admin notices class not available in some contexts.
103
 
@@ -520,6 +523,9 @@ Yep! HappyForms free isn't going anywhere but for those looking for even more yo
520
 
521
  == Upgrade Notice ==
522
 
 
 
 
523
  = 1.8.12 =
524
  * Fixed error caused by admin notices class not available in some contexts.
525
 
5
  Requires at least: 4.8
6
  Tested up to: 5.2
7
  Requires PHP: 5.3
8
+ Stable tag: 1.8.13
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
98
 
99
  == Changelog ==
100
 
101
+ = 1.8.13 =
102
+ * Bugfix: Fixed error caused by admin notices during Wp Cron task execution.
103
+
104
  = 1.8.12 =
105
  * Bugfix: Fixed error caused by admin notices class not available in some contexts.
106
 
523
 
524
  == Upgrade Notice ==
525
 
526
+ = 1.8.13 =
527
+ * Fixed error caused by admin notices during Wp Cron task execution.
528
+
529
  = 1.8.12 =
530
  * Fixed error caused by admin notices class not available in some contexts.
531