From e4030f445db7b7ae66873ee856256209ed0dfdd1 Mon Sep 17 00:00:00 2001 From: champsupertramp Date: Wed, 27 Jul 2016 15:07:09 +0800 Subject: [PATCH] Fix member directory's pagination links --- core/um-permalinks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/um-permalinks.php b/core/um-permalinks.php index 8c010293..ef8e8361 100644 --- a/core/um-permalinks.php +++ b/core/um-permalinks.php @@ -217,7 +217,7 @@ class UM_Permalinks { *** @add a query param to url ***/ function add_query( $key, $value ) { - $this->current_url = add_query_arg( $key, $value, $this->current_url ); + $this->current_url = add_query_arg( $key, $value, $this->get_current_url() ); return $this->current_url; } /***