From a0f30e7b07b0460696c07009375ba63b9daf229e Mon Sep 17 00:00:00 2001 From: Marius Cristea Date: Mon, 9 Sep 2019 19:24:58 +0300 Subject: [PATCH] fix: resource hints condition check [skip release] --- inc/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/admin.php b/inc/admin.php index a867c874..843870b1 100755 --- a/inc/admin.php +++ b/inc/admin.php @@ -372,7 +372,7 @@ function daily_sync() { * @return array Altered hints array. */ public function add_dns_prefetch( $hints, $relation_type ) { - if ( 'dns-prefetch' !== $relation_type || + if ( 'dns-prefetch' !== $relation_type && 'preconnect' !== $relation_type ) { return $hints;