PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.16
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.16
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/controllers/FrmDeactivationFeedbackController.php +0 -4 6.266.16 View file →
@@ -2,9 +2,8 @@
2 2 /**
3 3 * Deactivation feedback controller
4 4 *
5 5 * @package Formidable
6 - *
7 6 * @since 6.15
8 7 */
9 8
10 9 if ( ! defined( 'ABSPATH' ) ) {
@@ -31,15 +30,13 @@
31 30 * @return bool
32 31 */
33 32 private static function feedback_is_expired() {
34 33 $feedback_expired = get_option( 'frm_feedback_expired' );
35 -
36 34 if ( ! $feedback_expired ) {
37 35 return true;
38 36 }
39 37
40 38 $expired_date = strtotime( $feedback_expired );
41 -
42 39 if ( ! $expired_date ) {
43 40 return true;
44 41 }
45 42
@@ -56,9 +53,8 @@
56 53 public static function set_feedback_expired_date( $plugin ) {
57 54 if ( empty( $_GET['frm_feedback_submitted'] ) ) {
58 55 return;
59 56 }
60 -
61 57 if ( ! strpos( $plugin, 'formidable.php' ) && ! strpos( $plugin, 'formidable-pro.php' ) ) {
62 58 return;
63 59 }
64 60 update_option( 'frm_feedback_expired', gmdate( 'Y-m-d', strtotime( '+ 1 day' ) ) );