Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

I found a bug #1

Closed
HADB opened this Issue · 2 comments

2 participants

@HADB

My website is http://sc2.haoest.com
But when I click Page3, it will go to sc3.haoest.com/page/3 which should be sc2.haoest.com/page/3 .
Please fix it, thanks!

@HADB

Solution:
Edit "my-life-library\extensions\loop-pagination.php"
In line 68, $defaults['base'] = str_replace( 2, '%#%', esc_url( get_pagenum_link( 2 ) ) );
Don't use it, but use the code in line 69, $defaults['base'] = user_trailingslashit( trailingslashit( get_pagenum_link() ) . 'page/%#%' );
It's ok now.

@justintadlock

This has already been fixed in the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.