Fixed empty timelines filter.
This commit is contained in:
1 parent
228ea99b43
commit
36e0d14c48
1 file changed
+3
-1
+3
-1
@@ -169,7 +169,9 @@ class Laps extends Container {
|
||||
[ 'events' => $event_data ],
|
||||
[ 'events' => $query_data ],
|
||||
[ 'events' => $http_data ],
|
||||
] );
|
||||
], function ( $data ) {
|
||||
return ! empty( $data['events'] );
|
||||
} );
|
||||
|
||||
$wp_admin_bar->add_node( [
|
||||
'id' => 'laps',
|
||||
|
||||
Reference in new issue
Block a user