[Resolved] [Plugin: WP-PageNavi] Query arguments not available for first page link
When on a page that is greater than page 1, the links in pagination for page 1 and the ‘previousposts’ link do not include any query arguments.
This is important for pages that show results for form searches. The search criteria are stored with the GET method as query strings in the URL and need to be maintained from page to page as the user pages through their results.
I fixed this error in the code in link-template.php on line 1421.
I changed the ‘if’ clause from
if( $pagenum > 1 )to
if( $pagenum > 0 ).
I was wondering if you can apply this fix to future updates?
- The topic ‘[Resolved] [Plugin: WP-PageNavi] Query arguments not available for first page link’ is closed to new replies.