Fixed Broken Link in Moderator Log for "post_move_source"

Steffen

Well-known member
Affected version
2.0.4
Move some posts to another (already existing) thread. In the source thread, a moderator action "post_move_source" is logged whose "action_params" contain a URL built with "nopath:threads". Open the moderator log of the source thread and notice that the link in the "Action" column is broken because it isn't prefixed with the forum path.
 
Technically, we shouldn't be using any sort of anchor HTML within these phrases anyway, because there are certain contexts where they may appear inside other links and therefore that's not valid HTML.

It could otherwise be solved by preparing the URL param (adding the base path to it) before being passed into the phrase, but the link is pretty superfluous anyway as the content link value links there, so all that's changing here is the phrases.
 
Back
Top Bottom