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
74be5a2334
Merge branch 'hf12-regexSkip' into develop
2018-05-19 14:31:47 +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
c77e1ee012
Apply coding standards to unit test (except some mocks)
2018-05-19 13:53:27 +02:00
5e2dd4b6e1
Removed Gulp build script
...
Build process is now handled by Composer and Robo, so clean up old stuff
2018-03-21 18:27:42 +01: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
66ddada63e
Updated deprecated SPDX license code and removed PHP from require-dev
...
[ci skip]
2018-03-08 19:45:51 +01:00
fcba292698
Fixed README deploy path in Robo script [ci skip]
2018-03-08 17:21:18 +01:00
1e811957f8
Minor correction in required Statify version
...
'Tested up to' no longer holds with 1.6.0 now released, so now the
minimum version required is named instead of updating the maximum.
2018-03-08 17:15:50 +01:00
b9017a7b8d
Update License file
...
Hopefully GitHub now recognizes the GPL license again...
2018-02-04 12:00:29 +01:00
7329574d09
Contributing ++
2018-01-20 12:38:20 +01:00
b8b1dc83de
Prepare release 1.4.3
v1.4.3
2018-01-09 20:16:17 +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
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
8b9ce4c570
Fixed issues with multisite installation ( #11 )
2018-01-07 14:14:48 +01:00
8a35182d81
Added SVN deployment tasks
2017-12-29 14:07:43 +01:00
0b7c9c07e2
Added Robo build script
...
Created tasks for building and testing using Robo build environment, installed via Composer. This is supposed to replace Gulp as default build tool and makes NPM obsolete.
2017-12-29 11:43:30 +01:00
d82de3547b
Update Composer and Travis config
...
PHPUnit and PHPCS test execution is now available using Composer.
2017-12-03 12:49:41 +01:00
012b9a0189
Release 1.4.2
v1.4.2
2017-11-12 12:12:52 +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
637d5f482c
Preparations for 1.4.2
...
Supported WP version is 4.9, updated WPCS definitions.
2017-11-12 12:12:51 +01:00
f061b4c194
_add_menu_page in admin class made static
...
This method has been non-static for not reason which lead to reasonable warning. Simply declared static now, as there are no instance dependencies.
2017-11-12 12:12:51 +01:00
7962d4dbc9
Add required PHP version to ReadMe
...
This field is now parsed and displayed on WP plugin page.
2017-09-06 21:12:51 +02:00
aa40945ebd
Replaced superfluous instantiation of Object with static init() method
2017-08-20 11:22:39 +02:00
12a7959982
Add PHP 7.2 build to Travis config
2017-08-17 20:02:47 +02:00
58ac6e36f1
Bump required WordPress version to 4.4 ( #10 )
2017-08-17 19:58:12 +02:00
bc32bd66db
Minor dist bundle adjustments
...
The Gulp task now creates a ZIP file with the plugin-dir as root, instead of directly adding the files.
2017-08-02 13:55:50 +02:00
2b6f892b18
Contribution guidelines
2017-07-16 18:09:38 +02:00
f73d9e83e4
Preparations for v1.4.1
v1.4.1
2017-07-16 16:01:24 +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
2873df7ecf
Fix forgotten renames
...
Corrected filenames which have been renamed, but not adjusted in .travis.yml
2017-07-16 12:39:08 +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
2e7883bc62
Packaging process bundled as Gulp task
...
Bundling a ready to use plugin ZIP has been automated into a Gulp task. After executing unit tests and code sniffer, only the relevant files are bundled.
2017-07-16 12:10:23 +02:00
3206da2861
Fix cidr_match() for IPv6 with PHP 7.1
...
With PHP 7.1 implicit conversion of non-trimmed strings to integer raises an error. Input value fpr IPv6 subnets is now trimmed and a check for numeric value is added.
2017-07-15 17:50:55 +02:00
5f2d883186
Travis CI added
...
Added Travis CI builds to run PHPUnit test on every supported PHP version. Also automated PHPCS checks are performed to enforce coding standards.
2017-07-15 17:26:08 +02:00
1781335f25
Composer and PHPCS added
...
A composer package descriptor has been added, along with a PHPunit descriptor and code sniffer ruleset.
2017-07-15 17:05:38 +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
d769c6789c
Yoda conditions and strict comparison
2017-07-04 16:52:11 +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
3428c6b711
Relicensed to GPLv2 or later
...
Previously the plugin has been published under GPLv3. WordPress encourages to use the same license as the base system and there is no real reason to limit this to v3.
2017-07-04 14:56:56 +02:00
ce0b68b521
Fix support forum link
2017-06-12 18:59:11 +02:00
54149e1e8e
Fix missing locale domain
2017-06-11 10:20:15 +02:00
76cd908861
Preparations for 1.4.0 release
v1.4.0
2017-06-10 14:44:03 +02:00
0bf0f3fb9b
Change filter hook name to statify__skip_tracking (as of Statify 1.5.0)
2017-06-10 14:36:38 +02:00
9dae145637
Contribution notes added to readme
2017-06-09 09:59:41 +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
0cf4548d45
assets added to git
2017-06-04 11:48:32 +02:00