typo fixes
This commit is contained in:
parent
736cec1d12
commit
ac73b2316d
@ -66,7 +66,7 @@ visitors from search engines, just "false" referers from 301 redirects or you ow
|
|||||||
No. It only prevent's _Statify_ from tracking, nothing more or less.
|
No. It only prevent's _Statify_ from tracking, nothing more or less.
|
||||||
|
|
||||||
### Does live filtering impact performance? ###
|
### Does live filtering impact performance? ###
|
||||||
Yes, but probalby not noticeable. Checking a single referer string against a (usually small) list should be negligible compared to the total loading procedure.
|
Yes, but probably not noticeable. Checking a single referer string against a (usually small) list should be negligible compared to the total loading procedure.
|
||||||
If this still is an issue for you, consider deactivating the filter and only run the one-time-cleanup or activate the cron job.
|
If this still is an issue for you, consider deactivating the filter and only run the one-time-cleanup or activate the cron job.
|
||||||
|
|
||||||
### Is any personal data collected? ###
|
### Is any personal data collected? ###
|
||||||
@ -127,7 +127,7 @@ Because of this, an IP blacklist can only be applied while processing the reques
|
|||||||
|
|
||||||
### 1.2.0 / 29.08.2016 ###
|
### 1.2.0 / 29.08.2016 ###
|
||||||
* Switched from `in_array()` to faster `isset()` for referer checking
|
* Switched from `in_array()` to faster `isset()` for referer checking
|
||||||
* Optional cron execiton implemented
|
* Optional cron execution implemented
|
||||||
|
|
||||||
### 1.1.2 / 17.08.2016 ###
|
### 1.1.2 / 17.08.2016 ###
|
||||||
* Prepared for localization
|
* Prepared for localization
|
||||||
|
@ -263,7 +263,7 @@ class StatifyBlacklist_Admin extends StatifyBlacklist {
|
|||||||
global $wpdb;
|
global $wpdb;
|
||||||
|
|
||||||
// Execute filter on database.
|
// Execute filter on database.
|
||||||
// @codingStandardsIgnoreStart These statements prouce warnings, rework in future release (TODO).
|
// @codingStandardsIgnoreStart These statements produce warnings, rework in future release (TODO).
|
||||||
if ( ! empty( $referer_regexp ) ) {
|
if ( ! empty( $referer_regexp ) ) {
|
||||||
$wpdb->query(
|
$wpdb->query(
|
||||||
$wpdb->prepare(
|
$wpdb->prepare(
|
||||||
|
@ -55,7 +55,7 @@ if ( statify_blacklist_compatibility_check() ) {
|
|||||||
// Autoload.
|
// Autoload.
|
||||||
spl_autoload_register( 'statify_blacklist_autoload' );
|
spl_autoload_register( 'statify_blacklist_autoload' );
|
||||||
} else {
|
} else {
|
||||||
// Disbale plugin, if active.
|
// Disable plugin, if active.
|
||||||
add_action( 'admin_init', 'statify_blacklist_disable' );
|
add_action( 'admin_init', 'statify_blacklist_disable' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -365,7 +365,7 @@ class StatifyBlacklist_Test extends PHPUnit\Framework\TestCase {
|
|||||||
$this->assertNotFalse( $result );
|
$this->assertNotFalse( $result );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Unfortunately this is nencessary as long as we run PHP 5 tests, because "assertInternalType" is deprecated
|
* Unfortunately this is necessary as long as we run PHP 5 tests, because "assertInternalType" is deprecated
|
||||||
* as of PHPUnit 8, but "assertIsArray" has been introduces in PHPUnit 7.5 which requires PHP >= 7.1.
|
* as of PHPUnit 8, but "assertIsArray" has been introduces in PHPUnit 7.5 which requires PHP >= 7.1.
|
||||||
*/
|
*/
|
||||||
if ( method_exists( $this, 'assertIsArray' ) ) {
|
if ( method_exists( $this, 'assertIsArray' ) ) {
|
||||||
|
@ -177,7 +177,7 @@ if ( ! empty( $_POST['statifyblacklist'] ) ) {
|
|||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
<label for="statify-blacklist_active_referer">
|
<label for="statify-blacklist_active_referer">
|
||||||
<?php esc_html_e( 'Activate live fiter', 'statify-blacklist' ); ?>
|
<?php esc_html_e( 'Activate live filter', 'statify-blacklist' ); ?>
|
||||||
</label>
|
</label>
|
||||||
</th>
|
</th>
|
||||||
<td>
|
<td>
|
||||||
@ -257,7 +257,7 @@ if ( ! empty( $_POST['statifyblacklist'] ) ) {
|
|||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
<label for="statify-blacklist_active_target">
|
<label for="statify-blacklist_active_target">
|
||||||
<?php esc_html_e( 'Activate live fiter', 'statify-blacklist' ); ?>
|
<?php esc_html_e( 'Activate live filter', 'statify-blacklist' ); ?>
|
||||||
</label>
|
</label>
|
||||||
</th>
|
</th>
|
||||||
<td>
|
<td>
|
||||||
@ -341,7 +341,7 @@ if ( ! empty( $_POST['statifyblacklist'] ) ) {
|
|||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
<label for="statify-blacklist_active_ip">
|
<label for="statify-blacklist_active_ip">
|
||||||
<?php esc_html_e( 'Activate live fiter', 'statify-blacklist' ); ?>
|
<?php esc_html_e( 'Activate live filter', 'statify-blacklist' ); ?>
|
||||||
</label>
|
</label>
|
||||||
</th>
|
</th>
|
||||||
<td>
|
<td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user