[Plugin: Smarter Navigation] Bug in ID Query
-
Hi,
I think there is a bug in the ID query regarding the LIMIT calculations. If your post count setting is > 500, the limit computation is wrong.
To fix the problem, in main.php in the collect_ids() after this:
$limit = explode(',', $query[1]); $start = (int) $limit[0]; $finish = (int) $limit[1];add this line:
if($finish - $start > $count) $count = $finish - $start;to increase $count eventually.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘[Plugin: Smarter Navigation] Bug in ID Query’ is closed to new replies.