PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.4
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.4
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/fields/FrmFieldUrl.php +0 -20 6.35.4 View file →
@@ -12,22 +12,10 @@
12 12 * @var string
13 13 * @since 3.0
14 14 */
15 15 protected $type = 'url';
16 -
17 - /**
18 - * @var string
19 - */
20 16 protected $display_type = 'text';
21 17
22 - /**
23 - * @var bool
24 - */
25 - protected $array_allowed = false;
26 -
27 - /**
28 - * @return bool[]
29 - */
30 18 protected function field_settings_for_type() {
31 19 return array(
32 20 'size' => true,
33 21 'clear_on_focus' => true,
@@ -44,18 +32,12 @@
44 32 'show_image' => 0,
45 33 );
46 34 }
47 35
48 - /**
49 - * @return string
50 - */
51 36 protected function get_field_name() {
52 37 return __( 'Website', 'formidable' );
53 38 }
54 39
55 - /**
56 - * @return void
57 - */
58 40 protected function fill_default_atts( &$atts ) {
59 41 $defaults = array(
60 42 'sep' => ', ',
61 43 'html' => false,
@@ -109,10 +91,8 @@
109 91 }
110 92
111 93 /**
112 94 * @since 4.0.04
113 - *
114 - * @return void
115 95 */
116 96 public function sanitize_value( &$value ) {
117 97 FrmAppHelper::sanitize_value( 'esc_url_raw', $value );
118 98 }