902e211552
postpone jump out on AJAX calls for Statify 1.7 compatibility ( #22 )
...
Statify 1.7 changed the JS tacking endpoint to WP AJAX, so we must not
skip the complete initialization on AJAX calls anymore. The routine now
breaks after adding the filter (if necessary).
2020-05-20 10:26:57 +02:00
aa9980106e
update phpcs ignore statements; PHPdoc indentation
2020-05-10 12:13:39 +02:00
31c04d6b92
sanitize referer URI
2020-05-10 12:00:41 +02:00
84cf79fd04
remove underscore prefix from options field
2019-10-06 17:52:08 +02:00
1c69ba31bb
Preprocessing of regular expression in separate funciton
2019-03-17 17:34:47 +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
74f2e0f9a7
Removed deprecated instance() and __construct() methods from base class
2018-10-27 18:42:46 +02:00
74826384a8
Moved admin initialization to admin class
2018-10-27 18:34:23 +02:00
59ff52cdef
Merge if-clauses for cron job detection
2018-10-27 17:44:13 +02:00
bcd42bde2a
Minor code style fixes
2018-10-20 10:12:38 +02:00
f34b761942
Removed load_plugin_textdomain and domain path header
...
Translation is handled via translate.wordpress.org and minimum required
version is greater than 4.6, so the local translation artifacts are
dropped.
2018-05-19 15:09:57 +02:00
92f8496926
Fix #12 : do not skip filter chain on non-matching regex filter
...
Corrected the regular expression methods and unit-tested combined filters.
2018-05-19 14:22:15 +02: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
eb63299dfc
Minor code styling.
...
* Added some equals-alignments and removed require_once paranthesis.
* Notice: _add_menu_page() has been renamed to add_menu_page()
2017-11-12 12:12:51 +01:00
aa40945ebd
Replaced superfluous instantiation of Object with static init() method
2017-08-20 11:22:39 +02:00
c7c0f9e346
Fix filter hook if referer is disabled ( #9 )
...
The filter was only appended, if the referer live filter is set active. Now the condition checks for any available blacklist.
2017-07-16 14:14:25 +02: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