diff --git a/inc/namespace.php b/inc/namespace.php index e1ca78a..0ea670d 100644 --- a/inc/namespace.php +++ b/inc/namespace.php @@ -383,7 +383,7 @@ function ping_indexnow( $post ) { } // Ping IndexNow. - $response = wp_remote_post( + $response = wp_safe_remote_post( 'https://api.indexnow.org/indexnow', $request );