UTCWeb / utctiny

URL Shortener with YOURLS
MIT License
0 stars 5 forks source link

UTCT-86: Make QR code plugin compatible with 404 plugin #90

Closed UTCGilligan closed 4 months ago

UTCGilligan commented 4 months ago

For Bugfix release 1.5.1.

"Fix the other fix because it broke something else."

QR codes were broken by the 404 plugin, because the QR code was set to fire on a hook that runs after the hook used by the 404 plugin. Changed QR to use the same hook as the 404, at a higher priority (default 10, vs 999 for the 404 function), as suggested by YOURLS author, ozh.