Skip to content

Commit 98bac62

Browse files
committed
fix empty space
1 parent 62accf4 commit 98bac62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/faustwp/includes/replacement/functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function is_wp_link_ajax_request(): bool {
136136

137137

138138
/**
139-
* Get all site URLs for each possible HTTP protocol
139+
* Get all site URLs for each possible HTTP protocol.
140140
*
141141
* @param string $site_url The site url.
142142
*
@@ -146,7 +146,7 @@ function faustwp_get_wp_site_urls( string $site_url ): array {
146146

147147
$host_url_parse = wp_parse_url( $site_url );
148148
$host_url = $host_url_parse['host'] ?? '';
149-
if ( !empty($host_url_parse['port']) ) {
149+
if ( ! empty( $host_url_parse['port'] ) ) {
150150
$host_url .= ':' . $host_url_parse['port'];
151151
}
152152
$is_https = strpos( $site_url, 'https://' ) === 0;

0 commit comments

Comments
 (0)