• Resolved marcusquinn

    (@surferking)


    plugins/simple-feature-requests/inc/class-post-types.php

    775c775,776
    <       return apply_filters( 'jck_sfr_posts_per_page', $settings['general_setup_ppp'] );
    ---
    > //        return apply_filters( 'jck_sfr_posts_per_page', $settings['general_setup_ppp'] );
    >         return apply_filters( 'jck_sfr_posts_per_page', is_int($settings['general_setup_ppp']) && $settings['general_setup_ppp'] > 0 ? $settings['general_setup_ppp'] : 10 );

    For some reason, general_setup_ppp setting value was a string instead of an integer, so we’ve set it to 10 if there is an incorrect value in the settings:

    <a  target="_blank" class="button" style="margin-top: 5px;">Available in Pro</a>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Patch fix for pagination showing incorrectly on search’ is closed to new replies.