Merge pull request #7031 from splashingpixels/pagination
fixes the encoding issue with pagination on default permalinks setting c...
This commit is contained in:
commit
a8f9392c43
|
@ -20,7 +20,7 @@ if ( $wp_query->max_num_pages <= 1 ) {
|
|||
<nav class="woocommerce-pagination">
|
||||
<?php
|
||||
echo paginate_links( apply_filters( 'woocommerce_pagination_args', array(
|
||||
'base' => esc_url( str_replace( 999999999, '%#%', remove_query_arg( 'add-to-cart', get_pagenum_link( 999999999, false ) ) ) ),
|
||||
'base' => esc_url_raw( str_replace( 999999999, '%#%', remove_query_arg( 'add-to-cart', get_pagenum_link( 999999999, false ) ) ) ),
|
||||
'format' => '',
|
||||
'current' => max( 1, get_query_var( 'paged' ) ),
|
||||
'total' => $wp_query->max_num_pages,
|
||||
|
|
Loading…
Reference in New Issue