Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Statify Filter #
* Contributors: stklcode
* Requires at least: 4.7
* Requires at least: 5.1
* Tested up to: 6.8
* Requires PHP: 7.2
* Stable tag: 1.7.2
Expand Down Expand Up @@ -56,7 +56,7 @@ The plugin is capable of handling multisite installations.

### Requirements ###
* PHP 7.2 or above
* WordPress 4.7 or above
* WordPress 5.1 or above
* _Statify_ plugin installed and activated (1.5 or above)

## Frequently Asked Questions ##
Expand Down
2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<file>inc</file>

<!-- Compliance with WordPress Coding Standard -->
<config name="minimum_supported_wp_version" value="4.7"/>
<config name="minimum_supported_wp_version" value="5.1"/>
<rule ref="WordPress">
<!-- Direct queries used to clean up statify table. -->
<exclude name="WordPress.DB.DirectDatabaseQuery.DirectQuery"/>
Expand Down
6 changes: 3 additions & 3 deletions statify-blacklist.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin URI: https://wordpress.org/plugins/statify-blacklist/
* Description: Extension for the Statify plugin to add customizable filters. (formerly "Statify Blacklist")
* Version: 1.7.2
* Requires at least: 4.7
* Requires at least: 5.1
* Requires PHP: 7.2
* Requires Plugins: statify
* Author: Stefan Kalscheuer (@stklcode)
Expand Down Expand Up @@ -94,7 +94,7 @@ function statify_blacklist_autoload( string $class_name ): void {
* @return boolean Whether minimum WP and PHP versions are met.
*/
function statify_blacklist_compatibility_check(): bool {
return version_compare( $GLOBALS['wp_version'], '4.7', '>=' ) &&
return version_compare( $GLOBALS['wp_version'], '5.1', '>=' ) &&
version_compare( phpversion(), '7.2', '>=' );
}

Expand Down Expand Up @@ -129,7 +129,7 @@ function statify_blacklist_disabled_notice(): void {
printf(
/* translators: minimum version numbers for WordPress and PHP inserted at placeholders */
esc_html__( 'Statify Filter requires at least WordPress %1$s and PHP %2$s.', 'statify-blacklist' ),
'4.7',
'5.1',
'7.2'
);
echo '<br>';
Expand Down
Loading