Fixed Changing Link Route for NewThreads.php

imno007

Well-known member
I got really tired of new_threads widgets linking to new posts in the header, because to me it's counter-intuitive and confusing to the user, so I changed this line

$link = $router->buildLink('whats-new/posts', null, ['skip' => 1]);

to this

$link = $router->buildLink('whats-new');

Do I need to worry about any problems as a result?
 
Last edited:
@Chris D
Okay, I have to ask: is this maybe actually a bug? I'm just not sure why the new threads widget links to new posts. So I'm asking because I'd really like to think that it is a big so that I don't have to keep seeing the error message in my admin, because I don't plan on changing it back. :)
 
Also please make sure you edit that "View more" button on the bottom right of the widget in full view, so I don't have to keep deleting it? If it can't link to an actual new_threads widget that spans multiple pages (or loads more on click), maybe just axe it for good? Because right now it also links by default to posts. Thank you! :)
 
Back
Top Bottom