Hey - not sure if you're fine with cold pull requests but I ran this on my PHP 7 sever and it wasn't keen on the use of the $purgeRelated variable from outside the function scope. A simple use keyword has fixed that, but obviously brings your minimum PHP level up to (I think) 5.3.
Let me know what you think. If you're happy to merge, fine, but otherwise I'll just use this fork for my PHP 7 solutions and pull from your repo for updates.
Hey - not sure if you're fine with cold pull requests but I ran this on my PHP 7 sever and it wasn't keen on the use of the
$purgeRelated
variable from outside the function scope. A simpleuse
keyword has fixed that, but obviously brings your minimum PHP level up to (I think) 5.3.Let me know what you think. If you're happy to merge, fine, but otherwise I'll just use this fork for my PHP 7 solutions and pull from your repo for updates.
Great plugin, by the way! 👍