fix storage of user agent filter list (#28)

The user agent filer list is not flipped with the actual values as keys
like the lists for referrer and target. Hence the numeric keys are
compared against the actual user agent. We now flip the values in the
upgrade hook.
This commit is contained in:
BananaSquishee
2021-05-28 11:11:30 +02:00
committed by GitHub
parent 6fdaa8bd5a
commit 6ffa650254
5 changed files with 56 additions and 4 deletions

View File

@ -24,7 +24,7 @@ class StatifyBlacklist {
* @since 1.4.0
* @var int VERSION_MAIN
*/
const VERSION_MAIN = 1.4;
const VERSION_MAIN = 1.6;
/**
* Operation mode "normal".