Skip to content

Commit

Permalink
fix: resource hints condition check [skip release]
Browse files Browse the repository at this point in the history
  • Loading branch information
selul committed Sep 9, 2019
1 parent 11b697d commit a0f30e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/admin.php
Expand Up @@ -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;
Expand Down

0 comments on commit a0f30e7

Please sign in to comment.