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 @@ -7,7 +7,7 @@
* Contributors: stklcode
* Requires at least: 5.1
* Tested up to: 6.9
* Requires PHP: 7.2
* Requires PHP: 7.4
* Stable tag: 1.7.2
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -55,7 +55,7 @@ The plugin is capable of handling multisite installations.
* Goto _Settings_ -> _Statify Filter_ to configure the plugin

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

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],
"type": "wordpress-plugin",
"require": {
"php": ">=7.2",
"php": ">=7.4",
"composer/installers": "~v2.3"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion inc/class-statifyblacklist.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ private static function get_referer(): string {
private static function get_referer_domain(): string {
$referer = wp_parse_url( self::get_referer() );

return strtolower( ( isset( $referer['host'] ) ? $referer['host'] : '' ) );
return strtolower( $referer['host'] ?? '' );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
</rule>

<!-- PHP compatibility level -->
<config name="testVersion" value="7.2-"/>
<config name="testVersion" value="7.4-"/>
<rule ref="PHPCompatibilityWP"/>
</ruleset>
2 changes: 1 addition & 1 deletion statify-blacklist.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Description: Extension for the Statify plugin to add customizable filters. (formerly "Statify Blacklist")
* Version: 1.7.2
* Requires at least: 5.1
* Requires PHP: 7.2
* Requires PHP: 7.4
* Requires Plugins: statify
* Author: Stefan Kalscheuer (@stklcode)
* Author URI: https://www.stklcode.de
Expand Down