12 Commits

Author SHA1 Message Date
fcf251967f
fix routine to update options without custom changes (#31)
array_merge_recursive() results in a misbehavior making arrays from
scalar options when current and default values differ. Replcae it by
array_replace_recursive() should resolve the issue for now.
2023-09-17 15:27:23 +02:00
BananaSquishee
6ffa650254
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.
2021-05-28 11:11:30 +02:00
06a7b1677a rename plugin to "Statify Filter"
The plugins purpose is to exclude or filter certain requests from
tracking by Statify. However the current name "Statify Blacklist" is not
actually inline with today's understanding of such terms. In WordPress
Core 5.5 the word "blacklist" among others has been replaced by more
precise wording where possible.

The term "filter" has been used in various places already and clearly
describes the behavior of this plugin. So we rename the plugin to
"Statify Filter" and rephrase front-end texts.

Plugin slug (permalink), textdomain and all public class and constant
names left untouched for now, to not introduce breaking changes at this
point. To be cleaned up with next major release.
2020-10-19 10:34:09 +02:00
aa9980106e update phpcs ignore statements; PHPdoc indentation 2020-05-10 12:13:39 +02:00
84cf79fd04 remove underscore prefix from options field 2019-10-06 17:52:08 +02:00
74f2e0f9a7 Removed deprecated instance() and __construct() methods from base class 2018-10-27 18:42:46 +02:00
bcd42bde2a Minor code style fixes 2018-10-20 10:12:38 +02:00
8c556ca509 Removed legacy code for WP prior to 4.6
Statify itself requires WP 4.7, so no reason to stick to legacy code
anymore.
2018-03-21 18:16:25 +01:00
5956059327 Cleaned up option handling for multisite
Multisite detection has been executed multiple times while the status is present in class variable after initialization.
2018-01-07 16:17:27 +01:00
c2ad908481 Fixed menu page for multisite activation 2018-01-07 16:16:01 +01:00
8b9ce4c570 Fixed issues with multisite installation (#11) 2018-01-07 14:14:48 +01:00
089ed347fa Code style again
Altered variable names from camel to snake case, renamed class files from *.class.php to class-*.php, added some comments.
2017-07-16 12:34:49 +02:00