We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c71b548 + f8011f1 commit 506feb9Copy full SHA for 506feb9
php/class-media.php
@@ -1981,7 +1981,7 @@ public function is_cloudinary_url( $url ) {
1981
$test_parts = wp_parse_url( $url );
1982
$cld_url = wp_parse_url( $this->base_url, PHP_URL_HOST );
1983
1984
- return isset( $test_parts['path'] ) && false !== strpos( $test_parts['host'], $cld_url );
+ return isset( $test_parts['path'], $test_parts['host'] ) && false !== strpos( $test_parts['host'], $cld_url );
1985
}
1986
1987
/**
0 commit comments