Closed (fixed)
Project:
Media Revisions UI
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2020 at 04:48 UTC
Updated:
17 Mar 2020 at 00:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bcizej commentedHi, thanks for reporting this. I had initially thought to extend from core media access checker class but didn't at the end.
Here is a patch that fixes this.
Comment #3
bcizej commentedComment #4
acbramley commentedI would probably just keep this on one line, but that's a personal preference :)
You could also just simply call
parent::access()and then add your cache tags on top.Comment #5
bcizej commented1. Yeah I guess I'll also open a new ticket to bring the constructors everywhere to one-liners.
2. :facepalm: Of course, thanks!
Comment #6
acbramley commented@benjamincizej nice one!
Comment #8
bcizej commented