In concat-js.php, in do_items(), you have this check:
if ( is_array( $js_array['handles'] ) && count( $js_array['handles'] ) === 1 ) {
This condition never seems to be true, and the filter never fires.
When I am logged in, handles contains four items:
array (
0 => 'hoverintent-js',
1 => 'admin-bar',
2 => 'main',
3 => 'wp-embed',
)
When I am not logged in, handles contains two items:
array (
0 => 'main',
1 => 'wp-embed',
)
In concat-js.php, in
do_items(), you have this check:This condition never seems to be true, and the filter never fires.
When I am logged in, handles contains four items:
When I am not logged in, handles contains two items: