dustpress
dustpress copied to clipboard
Pagination helper doesn't return active page information when first pages are hidden.
How to reproduce this bug:
- Use the pagination helper in a listing with lots of content (or use a very small posts_per_page setting)
- Navigate to a page where at least the first two pages are no longer shown (they are replaced with a
...) - The active property is no longer set.
In the below screenshot, number 7 should be highlighted.

The third issue "3. The active property is no longer set." will be fixed in https://github.com/devgeniem/dustpress/pull/103.