From 594c0bfb7c12731df089074aaf7e28fdd8e05186 Mon Sep 17 00:00:00 2001 From: Peter Petrov Date: Fri, 20 Dec 2024 14:45:15 +0200 Subject: [PATCH] Check for unique URLs only once --- projects/plugins/boost/app/lib/Cornerstone_Pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/plugins/boost/app/lib/Cornerstone_Pages.php b/projects/plugins/boost/app/lib/Cornerstone_Pages.php index 8823b6bdd6fe3..add62808a5f35 100644 --- a/projects/plugins/boost/app/lib/Cornerstone_Pages.php +++ b/projects/plugins/boost/app/lib/Cornerstone_Pages.php @@ -71,7 +71,7 @@ private function default_pages() { $homepage = array( '' ); - $urls = array_unique( array_merge( $homepage, $woocommerce_pages, $yoast_cornerstone_pages ) ); + $urls = array_merge( $homepage, $woocommerce_pages, $yoast_cornerstone_pages ); $urls = array_map( 'untrailingslashit', $urls ); $urls = array_unique( $urls );