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:
@@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user