0b07697db8
check if POST values are actually set before sanitization
2019-08-18 18:21:57 +02:00
44ee7ee839
Check regular expressions and prevent saving invalid settings ( #13 )
2019-03-17 17:34:57 +01:00
b7c3b51873
implement keyword filter for referer blacklist ( closes #15 )
...
In addition to the pre-existing normal and regular expression filters a
keyword mode is added. This filter matches if the referer string
contains a given keyword (case insensitive).
2019-03-12 19:37:48 +01:00
b691f2c618
adjust sanitization of settings and warning messages
2019-03-06 17:23:06 +01:00
c511dcb517
rework settings page
...
The settings page now features the 2 column layout like generated by WP
settings API. The regular expression selects are slightly rewritten in
preparation of additional mathing methods.
2019-03-06 15:06:47 +01:00
35b6d5592b
Cleaned up labels and added PHPCS rule for settings view
2018-10-27 19:05:09 +02:00
9e3dc8fb86
Parameter sanitization on config update reworked
...
Verify that checkbox value is actually present in POST value and fallback to 0.
2018-01-07 16:15:46 +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
4890dbaeeb
Corrections for WP Coding Standard
...
All PHP classes have been reworked to match the WP coding standard. This includes mostly code styling, but also the use of wp_ functions instead of PHP builtins.
2017-07-15 15:58:43 +02:00
5b1e490ace
Comments and code style reworked
...
To adhere a little more to the WP Coding Standards, PHPdoc blocks and inline have been reworked. No code has been changed.
2017-07-04 14:56:56 +02:00
54149e1e8e
Fix missing locale domain
2017-06-11 10:20:15 +02:00
7929dd66bd
PHPdoc and ReadMe corrections
2017-06-05 18:13:36 +02:00
df59e43b29
Config array restructured
2017-06-05 12:03:11 +02:00
152a800a4a
#8 Target filter implemented
2017-06-04 21:29:08 +02:00
4a0fee572b
#7 implementation of IP blacklists
2017-06-04 11:42:21 +02:00
9f9c7af298
Minor corrections
2017-06-02 18:14:06 +02:00
e7e2ef639c
Corrections for case-(in)sensitive DB cleanup
2016-10-10 10:00:01 +02:00
25b16746b2
Feature #4 Regular expression filters
2016-10-10 09:17:32 +02:00
ff11cdc931
Transient Statify data deleted after DB cleanup
2016-08-29 10:39:59 +02:00
f8ab4214de
Feature #2 Hook CleanUp job to Statify cron action
2016-08-25 20:20:50 +02:00
19644dd62b
Enhancement #1 Switched from in_array() to faster isset() for referer checking
2016-08-25 20:20:43 +02:00
1e0659e649
WP coding style
2016-08-20 18:50:38 +02:00
aba620277a
Nonce verified; capabilities checked; input sanitized
2016-08-16 21:01:15 +02:00
949bf9d26f
One-time execution added
2016-08-15 11:41:01 +02:00
0a001acac9
Check for active Statify plugin
2016-08-14 16:22:26 +02:00
1e30ba334f
Config array serialized
2016-08-14 13:38:57 +02:00
4005f936cd
Initial commit. Extracted from former pull request on Statify project
2016-08-14 13:23:27 +02:00