• Resolved pasada

    (@pasadamedia)


    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)
  • Hi Greg,

    thank you for reporting this! We fixed it in the latest version by redirecting to the admin dashboard and displaying a notice there.

    You can re-install the plugin to get that change immediately. Otherwise the regular update will become available soon.

    Cheers!

    Plugin Author KeyCDN

    (@keycdn)

    Fixed in v1.0.8

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Purge CDN message printing too early’ is closed to new replies.