use empty array for wp_enqueue_style() dependencies

At some point a negative check using `is_array($deps)` adds a fallback
to an empty array which is actually our desired behavior as we do not
have any dependencies. Use an empty array explicitly to comply with
the method contract to explicitly declare "no dependencies".
This commit is contained in:
2025-08-13 11:49:17 +02:00
parent 5bd7989070
commit d1ba1d0eb4

View File

@@ -288,7 +288,7 @@ class SCLiveticker {
wp_enqueue_style( wp_enqueue_style(
'sclt-css', 'sclt-css',
SCLIVETICKER_BASE . 'styles/liveticker.min.css', SCLIVETICKER_BASE . 'styles/liveticker.min.css',
'', array(),
self::VERSION self::VERSION
); );
} }