Skip to content

Commit 8c327cc

Browse files
committed
update minimum supported WordPress version to 5.1 (#43)
Statify will move to 5.1, so there is no reason to stick with WP 4.7 with the upcoming release.
1 parent 05d2951 commit 8c327cc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Statify Filter #
77
* Contributors: stklcode
8-
* Requires at least: 4.7
8+
* Requires at least: 5.1
99
* Tested up to: 6.8
1010
* Requires PHP: 7.2
1111
* Stable tag: 1.7.2
@@ -56,7 +56,7 @@ The plugin is capable of handling multisite installations.
5656

5757
### Requirements ###
5858
* PHP 7.2 or above
59-
* WordPress 4.7 or above
59+
* WordPress 5.1 or above
6060
* _Statify_ plugin installed and activated (1.5 or above)
6161

6262
## Frequently Asked Questions ##

phpcs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<file>inc</file>
1111

1212
<!-- Compliance with WordPress Coding Standard -->
13-
<config name="minimum_supported_wp_version" value="4.7"/>
13+
<config name="minimum_supported_wp_version" value="5.1"/>
1414
<rule ref="WordPress">
1515
<!-- Direct queries used to clean up statify table. -->
1616
<exclude name="WordPress.DB.DirectDatabaseQuery.DirectQuery"/>

statify-blacklist.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Plugin URI: https://wordpress.org/plugins/statify-blacklist/
1212
* Description: Extension for the Statify plugin to add customizable filters. (formerly "Statify Blacklist")
1313
* Version: 1.7.2
14-
* Requires at least: 4.7
14+
* Requires at least: 5.1
1515
* Requires PHP: 7.2
1616
* Requires Plugins: statify
1717
* Author: Stefan Kalscheuer (@stklcode)
@@ -94,7 +94,7 @@ function statify_blacklist_autoload( string $class_name ): void {
9494
* @return boolean Whether minimum WP and PHP versions are met.
9595
*/
9696
function statify_blacklist_compatibility_check(): bool {
97-
return version_compare( $GLOBALS['wp_version'], '4.7', '>=' ) &&
97+
return version_compare( $GLOBALS['wp_version'], '5.1', '>=' ) &&
9898
version_compare( phpversion(), '7.2', '>=' );
9999
}
100100

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

0 commit comments

Comments
 (0)