PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/helpers/FrmApiHelper.php +2 -5 6.26 → trunk View file →
@@ -39,12 +39,9 @@
39 39 if ( in_array( 'free_not_first_30', $who, true ) && self::is_free_not_first_30() ) {
40 40 return true;
41 41 }
42 42
43 - if ( self::check_free_segments( $who ) ) {
44 - return true;
45 - }
46 - return false;
43 + return self::check_free_segments( $who );
47 44 }
48 45
49 46 /**
50 47 * @since 6.17
@@ -102,9 +99,9 @@
102 99 $activation_timestamp = get_option( 'frm_first_activation' );
103 100
104 101 if ( false === $activation_timestamp ) {
105 102 // If the option does not exist, assume that it is
106 - // because the user was active before this option was introduced.
103 + // Because the user was active before this option was introduced.
107 104 return false;
108 105 }
109 106
110 107 $cutoff = strtotime( '-30 days' );