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/models/FrmFormState.php +3 -5 6.29 → trunk View file →
@@ -168,10 +168,9 @@
168 168 if ( ! $this->state && ! self::get_state_from_request() ) {
169 169 return;
170 170 }
171 171
172 - $state_string = $this->get_state_string();
173 - echo '<input name="frm_state" type="hidden" value="' . esc_attr( $state_string ) . '" />';
172 + echo '<input name="frm_state" type="hidden" value="' . esc_attr( $this->get_state_string() ) . '" />';
174 173 }
175 174
176 175 /**
177 176 * @return string
@@ -180,11 +179,10 @@
180 179 if ( ! self::open_ssl_is_installed() ) {
181 180 return '';
182 181 }
183 182
184 - $secret = self::get_encryption_secret();
185 - $compressed_state = $this->compressed_state();
186 - $json_encoded = json_encode( $compressed_state );
183 + $secret = self::get_encryption_secret();
184 + $json_encoded = json_encode( $this->compressed_state() );
187 185 return openssl_encrypt( $json_encoded, 'AES-128-ECB', $secret );
188 186 }
189 187
190 188 /**