Pagination issue on WP 4.1
-
Hi guys,
I am having issues with the pagination. I just upgraded to WP 4.1 and it stopped working.
Although, i am able to display all the pages when runing this command print_r($arr[‘paginate’]) when i click on one page it works the first time. then the page is always the same.
For example, if this would the pages : 1,2,3,4 if i click on the page 3 then all the pages will have the same href “?own-page=3”
This is happening only on WP 4.1
Any help?
if (! empty( $wp_user_query->results )) { $arr['total'] = $total_users; $arr['paginate'] = paginate_links( array( 'base' => @add_query_arg('own-page','%#%'), 'total' => $total_pages, 'current' => $page, 'show_all' => false, 'end_size' => 1, 'mid_size' => 2, 'prev_next' => true, 'prev_text' => __('? Previous','mylocalization'), 'next_text' => __('Next ?','mylocalization'), 'type' => 'plain', )); $arr['users'] = $wp_user_query->results; }
- The topic ‘Pagination issue on WP 4.1’ is closed to new replies.