Skip to content

Commit

Permalink
phpcs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeawhanlee committed Apr 17, 2024
1 parent 8537716 commit 0328cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Engine/Media/AboveTheFold/WarmUp/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function ( $link ) use ( $home_url ) {
*/
$is_valid_url = wp_http_validate_url( $link );
$is_same_host = isset( $link_host['host'] ) ? $link_host['host'] === $site_host['host'] : false;
$is_not_home = ! Utils::is_home( $link );
$is_not_home = ! Utils::is_home( $link );

return $is_valid_url && $is_same_host && $is_not_home;
}
Expand Down

0 comments on commit 0328cda

Please sign in to comment.