PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.19
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.19
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/controllers/FrmOverlayController.php +2 -6 6.356.19 View file →
@@ -41,12 +41,12 @@
41 41 /**
42 42 * The controller data. It will handle the options from multiple instances of the controller
43 43 *
44 44 * @var array Option data {
45 - *
46 45 * @type array $options_data[ '[instance1-option_name_provided_via-->config-option-name]' ] {
47 46 * @type string $execution-frequency Values example: '1 day' | '10 days' | '1 week' | '10 weeks' | '1 month' | '10 months' | '1 year' | '10 years'
48 47 * }
48 + *
49 49 * @type array $options_data[ '[instance2-option_name_provided_via-->config-option-name]' ] {
50 50 * @type string $execution-frequency Values example: '1 day' | '10 days' | '1 week' | '10 weeks' | '1 month' | '10 months' | '1 year' | '10 years'
51 51 * }
52 52 * }
@@ -52,11 +52,8 @@
52 52 * }
53 53 */
54 54 private $options_data = array();
55 55
56 - /**
57 - * @param array $config
58 - */
59 56 public function __construct( $config = array() ) {
60 57 if ( ! isset( $config['config-option-name'] ) || ! isset( $config['execution-frequency'] ) ) {
61 58 return;
62 59 }
@@ -130,9 +127,9 @@
130 127 *
131 128 * @return void
132 129 */
133 130 private function update_options_data() {
134 - update_option( $this->option_meta_name, $this->options_data, false );
131 + update_option( $this->option_meta_name, $this->options_data, 'no' );
135 132 }
136 133
137 134 /**
138 135 * Open overlay.
@@ -147,9 +144,8 @@
147 144 * @type string $buttons[]['url'] URL for the button.
148 145 * @type string $buttons[]['target'] Target attribute for the button link.
149 146 * @type string $buttons[]['label'] Label/text of the button.
150 147 * }
151 - *
152 148 * @return bool
153 149 */
154 150 public function open_overlay( $data = array() ) {
155 151 if ( true === $this->recurring_execution ) {