Purge CDN message printing too early
-
When I click the “Purge CDN” link in the admin bar on the front end, the message is printed at the top of the page body. In the back end, the message is accompanied by a “Warning: Cannot modify header information…” error message.
I think this occurs because the process_purge_request function in cdn_enabler.class.php is called on init. The messages, therefore, are being printed at the very top of page output.
Would it be possible to print the messages by hooking ‘admin_messages’ or similar?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Purge CDN message printing too early’ is closed to new replies.