From 80cfa00d45a484e2f6f7f922b38d37bf2e8dd89f Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Sun, 22 Dec 2019 22:47:20 +0800 Subject: [PATCH] Fix missing bracket --- includes/core/class-permalinks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/core/class-permalinks.php b/includes/core/class-permalinks.php index 304b68be..36bece7f 100644 --- a/includes/core/class-permalinks.php +++ b/includes/core/class-permalinks.php @@ -139,9 +139,9 @@ if ( ! class_exists( 'um\core\Permalinks' ) ) { } else{ if ( isset( $_SERVER['HTTP_HOST'] ) ) { $host = $_SERVER['HTTP_HOST']; - }else + }else{ $host = 'localhost'; - } + } } $page_url = ( is_ssl() ? 'https://' : 'http://' ) . $host . $_SERVER['REQUEST_URI'];