Closed eduardomozart closed 1 year ago
Thanks for the proposal. Problem is that this function is not backward compatible (there are still many Hogfather users), so I prefer at the moment the array_pad approach.
I see. No problem. I'd updated my PR so now it uses sexplode
only if available. Tested the array_pad
function on DokuWiki Igor and seems to be working as expected. Please also see the PR #261 (specially my comment there), as IndexMenu doesn't work with PHP 8+ without it.
Sexplode is a new function available on DokuWiki "Igor" (Dev Branch) that allows to split lists into a safe way. PHP 8.1 and Indexmenu was throwing an error on search page results on exploding without it when the user attempts to search when on Wiki home page (
wiki.example.com/doku.php?id=start
).