PluginProbe
Boxzilla – WordPress Popup Builder / 3.1.3
Boxzilla – WordPress Popup Builder v3.1.3
3.4.11 3.4.10 3.4.9 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 trunk 3.0 3.0.1 3.0.2 3.0.3 3.1 3.1.1 3.1.10 3.1.11 3.1.12 3.1.13 3.1.14 3.1.15 3.1.16 3.1.17 3.1.18 All 72 releases
← All changes | src/class-box.php +12 -3 3.03.1.3 View file →
@@ -74,12 +74,18 @@
74 74 'border_style' => '',
75 75 'position' => 'bottom-right',
76 76 ),
77 77 'rules' => array(
78 - 0 => array('condition' => '', 'value' => '')
78 + 0 => array(
79 + 'condition' => '',
80 + 'value' => '',
81 + ),
79 82 ),
80 83 'rules_comparision' => 'any',
81 - 'cookie' => 0,
84 + 'cookie' => array(
85 + 'triggered' => 0,
86 + 'dismissed' => 0,
87 + ),
82 88 'trigger' => 'percentage',
83 89 'trigger_percentage' => 65,
84 90 'trigger_element' => '',
85 91 'trigger_time_on_site' => 0,
@@ -200,9 +206,12 @@
200 206 'content' => $box->get_content(),
201 207 'css' => array_filter( $box->options['css'] ),
202 208 'trigger' => $trigger,
203 209 'animation' => $box->options['animation'],
204 - 'cookieTime' => absint( $box->options['cookie'] ),
210 + 'cookie' => array(
211 + 'triggered' => absint( $box->options['cookie']['triggered'] ),
212 + 'dismissed' => absint( $box->options['cookie']['dismissed'] ),
213 + ),
205 214 'rehide' => (bool) $box->options['auto_hide'],
206 215 'position' => $box->options['css']['position'],
207 216 'minimumScreenWidth' => $box->get_minimum_screen_size(),
208 217 'closable' => $box->options['closable'],