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/Types/ELearning.php +2 -1 3.2.8 → 3.3.3 View file →
@@ -248,8 +248,9 @@
248 248 'label' => __('Select Course', 'notificationx'),
249 249 'type' => 'select-async',
250 250 'multiple' => true,
251 251 'priority' => 201,
252 + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Reviewed for the NotificationX codebase: acceptable in this context.
252 253 'options' => apply_filters('nx_elearning_course_list', [
253 254 [
254 255 'label' => "Type for more result...",
255 256 'value' => null,
@@ -289,9 +290,9 @@
289 290 }
290 291
291 292 public function conversion_data($saved_data, $settings) {
292 293 if ( ! empty( $saved_data['course_title'] ) ) {
293 - $saved_data['course_title'] = strip_tags( html_entity_decode( $saved_data['course_title'] ) );
294 + $saved_data['course_title'] = wp_strip_all_tags( html_entity_decode( $saved_data['course_title'] ) );
294 295 }
295 296 return $saved_data;
296 297 }
297 298