- Affected version
- 2.2.12
Method
This method does quite some work:
In case cookie consent is active some kind of cache should be used so this information doesn't have to be fully generated at runtime.
\XF\App::setupCookieConsent()
is called whenever cookie consent is being used, for example when displaying an embedded media.This method does quite some work:
- Instantiates a CAPTCHA
- Loops through all media sites
- Loops through active payment providers
In case cookie consent is active some kind of cache should be used so this information doesn't have to be fully generated at runtime.