HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Fix for wrong URL error
I noticed that in some circustances a wrong url error appears upon attempt to change the discussion author. I was able to fix this on my intranet as follows:
Change class.author selector.plugin.php line 24 (line# depends on the plugin version you use) from:
$Url = "/discussion/author?discussionid={$Discussion->DiscussionID}";
to:
$Url = url("/discussion/author?discussionid={$Discussion->DiscussionID}");
@R_J - would you PR it?
0
Comments
I can surely do this, but here are some thoughts to this...
Oh, there are reasons why it shouldn't be me...Most of what I do is in our intranet (no github) so I have never mastered it. I only use it as an external cloud backup of my public variants of the intranet work and found it challenging (at least on my window based machine), haven't figured out how to multiversion my own plugins. I am sure I could master it, but time is scarce...
If this is too much effort I apologize and join you in calling everyone to race for the glory.
BTW, this is marked as a Vanilla maintained plugin. Shouldn't it therefore work on 2.5?
Browser + GitHub-Account = enough git for that
Just because something is in the
vanilla/addons
repository does not mean that it is heavily used or tested on Vanilla cloud in the same scenarios that are found in open source installations. In this case @R_J submitted the fix rather easily directly through Github.As far as backports/releases go, this type of change could be backported to the previous release by doing the following locally, but we are very unlikely to accept backport pull request for something that never had an issue in our github repo, and didn't have discussion prior of why the change should be backported. But for doing so the process looks like the following:
git log
. It can also be seen in the commits view a pull request on github. In this case it is7699791
Thank you for all the hints/advise. I will have to look at it more thoroughly after my current projects. Starred this so I won't forget.