• gnr5

    (@gnr5)


    Hi author,

    Thanks for your effort on this plugin. I just started using it, I need to use pagination for ads purposes. I found a bug in the code.

    functions.php line 427
    $next_page_data = $next_page_data.'page/'.$page_num.'?currentScore=';
    When that line executes it doesn’t generate the correct URL because the get_the_permalink() doesn’t return the last forward slash (/) so $next_page_data renders to https://www.myurl.com/quizpage/2?currentScore

    I replaced that line with the missing slash and now it works:
    $next_page_data = $next_page_data.'/page/'.$page_num.'?currentScore=';

Viewing 1 replies (of 1 total)
  • Plugin Author Harmonic Design

    (@harmonic_design)

    Hi gnr5,
    Thanks for bringing this to my attention. Not sure how it slipped through the cracks! I’ll have it patched ASAP

Viewing 1 replies (of 1 total)
  • The topic ‘Pagination error [Fixed]’ is closed to new replies.