PluginProbe
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar / 3.3.3
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar v3.3.3
3.3.3 3.3.2 3.3.1 3.3.0 3.2.14 3.2.13 3.2.12 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 trunk 0.2.5.5 0.2.5.6 0.2.5.7 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 All 158 releases
← All changes | includes/Features/Inline.php +1 -1 3.2.13 → 3.3.3 View file →
@@ -113,9 +113,9 @@
113 113 $theme_name = str_replace( $settings['type'] . '_', '', $theme_name );
114 114 if ( ! empty( $settings['custom_type'] ) ) {
115 115 $theme_name = str_replace( $settings['custom_type'] . '_', '', $theme_name );
116 116 }
117 - $params = wp_parse_args( $settings['notification-template'], $defaults );
117 + $params = wp_parse_args( isset( $settings['notification-template'] ) && is_array( $settings['notification-template'] ) ? $settings['notification-template'] : array(), $defaults );
118 118
119 119 foreach ( $params as $param => $element ) {
120 120 if ( $element == 'tag_custom' && isset( $params[ 'custom_' . $param ] ) ) {
121 121 // getting value of custom params.