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 | square/controllers/FrmSquareLiteSettingsController.php +2 -12 6.26 → trunk View file →
@@ -17,9 +17,9 @@
17 17 public static function add_settings_section( $sections ) {
18 18 $sections['square'] = array(
19 19 'class' => self::class,
20 20 'function' => 'route',
21 - 'icon' => 'frm_icon_font frm_square_icon',
21 + 'icon' => 'frmfont frm_square_icon',
22 22 );
23 23
24 24 return $sections;
25 25 }
@@ -44,18 +44,8 @@
44 44 include FrmSquareLiteAppHelper::plugin_path() . '/views/settings/form.php';
45 45 }
46 46
47 47 /**
48 - * @return array
49 - */
50 - private static function get_default_settings_atts() {
51 - return array(
52 - 'errors' => array(),
53 - 'message' => '',
54 - );
55 - }
56 -
57 - /**
58 48 * Handle processing changes to global Stripe Settings.
59 49 *
60 50 * @return void
61 51 */
@@ -61,8 +51,8 @@
61 51 */
62 52 public static function process_form() {
63 53 $settings = FrmSquareLiteAppHelper::get_settings();
64 54 // phpcs:ignore WordPress.Security.NonceVerification.Missing
65 - $settings->update( $_POST );
55 + $settings->update( wp_unslash( $_POST ) );
66 56 $settings->store();
67 57 }
68 58 }