PluginProbe
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar / 3.3.1
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar v3.3.1
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 1.2.0 1.2.1 All 156 releases
← All changes | includes/Core/GetData.php +4 -1 3.2.83.3.1 View file →
@@ -18,9 +18,12 @@
18 18 public function __get($name) {
19 19 if ($this->offsetExists($name)) {
20 20 return $this->offsetGet($name);
21 21 }
22 - trigger_error('Undefined property: ' . $name);
22 + // Mirrors PHP's own undefined-property notice for this ArrayAccess wrapper;
23 + // dropping it would make a mistyped property silently read as null.
24 + // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error
25 + trigger_error( esc_html( 'Undefined property: ' . $name ) );
23 26 }
24 27
25 28 #[\ReturnTypeWillChange]
26 29 public function offsetGet ($name){