PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.16.1.2
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.16.1.2
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/FrmFieldCaptchaSettings.php +1 -16 6.266.16.1.2 View file →
@@ -173,9 +173,9 @@
173 173 * @return string
174 174 */
175 175 public function get_pubkey() {
176 176 $key = $this->get_key_for_pubkey();
177 - return $this->frm_settings->$key ?? '';
177 + return isset( $this->frm_settings->$key ) ? $this->frm_settings->$key : '';
178 178 }
179 179
180 180 /**
181 181 * Check if the public key is not empty.
@@ -194,9 +194,8 @@
194 194 * @since 6.8.4
195 195 *
196 196 * @param array $attributes
197 197 * @param array $field
198 - *
199 198 * @return array
200 199 */
201 200 public function add_front_end_element_attributes( $attributes, $field ) {
202 201 $attributes['data-size'] = $this->get_captcha_size( $field );
@@ -211,9 +210,8 @@
211 210 /**
212 211 * @since 6.8.4
213 212 *
214 213 * @param array $field
215 - *
216 214 * @return string Either 'normal' or 'compact'.
217 215 */
218 216 protected function get_captcha_size( $field ) {
219 217 return $field['captcha_size'] === 'default' ? 'normal' : $field['captcha_size'];
@@ -253,19 +251,6 @@
253 251 * @return bool
254 252 */
255 253 public function should_show_captcha_theme_auto_option() {
256 254 return false;
257 - }
258 -
259 - /**
260 - * Default to no prefix. This is overwritten by child classes.
261 - *
262 - * @since 6.25.1
263 - *
264 - * @param bool $allow_multiple
265 - *
266 - * @return string
267 - */
268 - public function get_class_prefix( $allow_multiple ) {
269 - return '';
270 255 }
271 256 }