Open wizzud opened 6 years ago
That's a good suggestion. Can you submit this as a pull request?
For your other suggestion for checking for categories, I will add as a new function so we don't break thousands of sites when changing from cookie to category based checks.
Change function to (something along the lines of) ...
Note : the above is suggested without reference/regard to any other Issue raised, and is merely - without changing the functionality of existing calls to the helper - a way for developers to be able to determine an exact match for, say, '_ga' (by calling
is_allowed_cookie('_ga', true);
), and not risk a false match against 'online_gaming' (a made-up 'for instance'!).