WP Custom Gallery links issue solution?

WordPress for some unfathomable reason still (v4.8.2) doesn't include the extremely useful (and forever requested!) gallery custom link function. The 3rd party solution to that arrived some time ago in the form of the WP Custom Gallery Link plugin. That worked flawlessly for ages but come WP version 4.8 it broke, leaving users (myself included) [...]