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/fields/FrmFieldPhone.php +6 -0 6.25 → trunk View file →
@@ -9,8 +9,9 @@
9 9 class FrmFieldPhone extends FrmFieldType {
10 10
11 11 /**
12 12 * @var string
13 + *
13 14 * @since 3.0
14 15 */
15 16 protected $type = 'phone';
16 17
@@ -15,8 +16,9 @@
15 16 protected $type = 'phone';
16 17
17 18 /**
18 19 * @var bool
20 + *
19 21 * @since 3.0
20 22 */
21 23 protected $holds_email_values = true;
22 24
@@ -59,8 +61,9 @@
59 61 *
60 62 * @return void Outputs the HTML option tag directly.
61 63 */
62 64 protected function print_international_option() {
65 + // phpcs:disable Generic.WhiteSpace.ScopeIndent
63 66 ?>
64 67 <option
65 68 value=""
66 69 class="frm_show_upgrade frm_noallow"
@@ -69,8 +72,9 @@
69 72 >
70 73 <?php esc_html_e( 'International', 'formidable' ); ?>
71 74 </option>
72 75 <?php
76 + // phpcs:enable Generic.WhiteSpace.ScopeIndent
73 77 }
74 78
75 79 /**
76 80 * @return string
@@ -80,8 +84,10 @@
80 84 }
81 85
82 86 /**
83 87 * @since 4.0.04
88 + *
89 + * @param array|string $value
84 90 *
85 91 * @return void
86 92 */
87 93 public function sanitize_value( &$value ) {