wp-rocket icon indicating copy to clipboard operation
wp-rocket copied to clipboard

Avoid use of multiple Template redirect action

Open Khadreal opened this issue 5 months ago • 0 comments

Context The use of actions on template_redirect and opening new buffers though, it can lead to troubles down the line. A similar example of this is what we have here https://github.com/wp-media/imagify-plugin/issues/891.

Acceptance Criteria

  • Have a single use of template_redirect and have filters inside the callback function that need to modify the buffer.

Khadreal avatar Sep 06 '24 17:09 Khadreal