[Plugin: File Gallery] Pagination fix
-
When activating pagination [1.7-RC2] there was a bug and what it seems some debugging code displaying as negative pages (-2,-1,0) which were breaking the script when clicked.
file-gallery\includes\templating.php ~li 872:
// left side //// [alx359] if( 0 < $current ) //if( 1 < $current ) //// { $current--;
And again: ~li 907:
//// [alx359] /* // leftovers while( 1 < $limit ) { array_unshift($out, str_replace('<a ', '<a class="page"', _wp_link_page($c)) . $c . '</a>'); $c--; $limit--; } */ ////
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘[Plugin: File Gallery] Pagination fix’ is closed to new replies.