PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.16.1
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.16.1
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 | stripe/controllers/FrmStrpLiteSettingsController.php +3 -6 6.33 → 6.16.1 View file →
@@ -8,16 +8,15 @@
8 8 /**
9 9 * Add Stripe section to Global Settings.
10 10 *
11 11 * @param array $sections
12 - *
13 12 * @return array
14 13 */
15 14 public static function add_settings_section( $sections ) {
16 15 $sections['stripe'] = array(
17 - 'class' => self::class,
16 + 'class' => __CLASS__,
18 17 'function' => 'route',
19 - 'icon' => 'frmfont frm_stripe_icon',
18 + 'icon' => 'frm_icon_font frm_stripe_icon',
20 19 );
21 20
22 21 add_action(
23 22 'frm_messages_settings_form',
@@ -22,9 +21,8 @@
22 21 add_action(
23 22 'frm_messages_settings_form',
24 23 /**
25 24 * @param object $frm_settings
26 - *
27 25 * @return void
28 26 */
29 27 function ( $frm_settings ) {
30 28 $stripe_settings = FrmStrpLiteAppHelper::get_settings()->settings;
@@ -47,9 +45,8 @@
47 45 /**
48 46 * Print the Stripe section for Global settings.
49 47 *
50 48 * @param array $atts
51 - *
52 49 * @return void
53 50 */
54 51 public static function global_settings_form( $atts = array() ) {
55 52 $atts = array_merge( $atts, self::get_default_settings_atts() );
@@ -79,8 +76,8 @@
79 76 */
80 77 public static function process_form() {
81 78 $settings = FrmStrpLiteAppHelper::get_settings();
82 79 // phpcs:ignore WordPress.Security.NonceVerification.Missing
83 - $settings->update( wp_unslash( $_POST ) );
80 + $settings->update( $_POST );
84 81 $settings->store();
85 82 }
86 83 }