@ryanmortier The irony at digging up an old thread to call me “toxic” for calling out someone for digging up an old thread…
My stance on the original problem hasn’t changed. Even after all these years. You can’t reliably get the original text from a slug.
Consider a post with the title “Donald Trump: America’s Next President”. That’s going to get converted to a slug like donald-trump-americas-next-president. Great. So now how are you going to get back the original post title with the correct capitalisation, and punctuation such as the apostrophe and colon? You can’t. That information is gone.
@cactus It’s not going to put back in any punctuation that will have been converted to dashes, though.
Consider “laravels-the-best-php-framework”. You’re going to get back something like “Laravels the Best Php Framework” which will not have been the original title.
With a framework like Laravel that constantly updates over time, forum post's like this are super valuable as they appear in search results and remain relevant. Updating them over time is helpful to those who stumble upon them in the future. It's ok and even encouraged to "necro" posts like these :)