Skip to content

2.4.0

Compare
Choose a tag to compare
@stefangabos stefangabos released this 13 Jun 12:54
· 51 commits to master since this release
  • fixed compatilibty issues with PHP 8 and updated examples to work with latest versions of MariaDB
  • fixed bug where the library was not working correctly for method being url, variable being an empty string and last segment of an URL being a numerical value; see #25; thanks Bilge!
  • preg_quote-d user variables used in preg_replace; see #26; thanks Bilge!
  • removed rel="next" and rel="prev" as these are not an indexing signal anymore; see #21; thanks Bilge!
  • pagination links are now in an ordered list instead of an unordered list` making the output semantically correct since the order of elements is imperative; see #24; thanks Bilge!
  • fixed bug where when method was set to url, the library would not respect the value of avoid_duplicate_content when this was set to false; see #27; thanks Bilge!
  • fixed bug where having always_show_navigation set to TRUE would still not display pagination if there was a single page to be shown (see #6)
  • added a condensed mode which removes pagination links leaving only the next and previous buttons, links to the first and last pages, as well as a label showing the current page and the total available pages
  • updated examples