We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62accf4 commit 98bac62Copy full SHA for 98bac62
plugins/faustwp/includes/replacement/functions.php
@@ -136,7 +136,7 @@ function is_wp_link_ajax_request(): bool {
136
137
138
/**
139
- * Get all site URLs for each possible HTTP protocol
+ * Get all site URLs for each possible HTTP protocol.
140
*
141
* @param string $site_url The site url.
142
@@ -146,7 +146,7 @@ function faustwp_get_wp_site_urls( string $site_url ): array {
146
147
$host_url_parse = wp_parse_url( $site_url );
148
$host_url = $host_url_parse['host'] ?? '';
149
- if ( !empty($host_url_parse['port']) ) {
+ if ( ! empty( $host_url_parse['port'] ) ) {
150
$host_url .= ':' . $host_url_parse['port'];
151
}
152
$is_https = strpos( $site_url, 'https://' ) === 0;
0 commit comments