check case insensitive
This commit is contained in:
parent
5ad36d0027
commit
19a7bddc5f
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ function get_blacklist() {
|
||||||
*/
|
*/
|
||||||
function is_blacklisted( $url ) {
|
function is_blacklisted( $url ) {
|
||||||
foreach ( \ActivityPub\get_blacklist() as $blacklisted_host ) {
|
foreach ( \ActivityPub\get_blacklist() as $blacklisted_host ) {
|
||||||
if ( \strpos( $url, $blacklisted_host ) !== false ) {
|
if ( \stripos( $url, $blacklisted_host ) !== false ) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue