From b901c43ff5700a600d658d11ce0027888a4bec09 Mon Sep 17 00:00:00 2001 From: Navid Kashani Date: Wed, 18 Feb 2015 15:13:56 +0330 Subject: [PATCH] Fix URL: #038; replaces & and breaks the navigation --- library/foundation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/foundation.php b/library/foundation.php index 2e5122de0..16157acb7 100644 --- a/library/foundation.php +++ b/library/foundation.php @@ -9,7 +9,7 @@ function FoundationPress_pagination() { // For more options and info view the docs for paginate_links() // http://codex.wordpress.org/Function_Reference/paginate_links $paginate_links = paginate_links( array( - 'base' => str_replace( $big, '%#%', get_pagenum_link($big) ), + 'base' => str_replace( $big, '%#%', html_entity_decode(get_pagenum_link($big)) ), 'current' => max( 1, get_query_var('paged') ), 'total' => $wp_query->max_num_pages, 'mid_size' => 5,