PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.13
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.13
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/models/FrmAntiSpam.php +0 -5 6.26.1 → 6.13 View file →
@@ -25,9 +25,8 @@
25 25 * @return void
26 26 */
27 27 public static function maybe_init( $form_id ) {
28 28 $antispam = new self( $form_id );
29 -
30 29 if ( $antispam->run_antispam() ) {
31 30 $antispam->init();
32 31 }
33 32 }
@@ -72,11 +71,8 @@
72 71
73 72 return $form_token_string;
74 73 }
75 74
76 - /**
77 - * @return string
78 - */
79 75 private function get_antispam_secret_key() {
80 76 $secret_key = get_option( 'frm_antispam_secret_key' );
81 77
82 78 // If we already have the secret, send it back.
@@ -185,9 +181,8 @@
185 181 * @return void
186 182 */
187 183 public static function maybe_echo_token( $form_id ) {
188 184 $antispam = new self( $form_id );
189 -
190 185 if ( $antispam->run_antispam() ) {
191 186 echo 'data-token="' . esc_attr( $antispam->get() ) . '"';
192 187 }
193 188 }