Does it cause any problem?
I’ll consider not deleting cookie when it is no longer set.
Here you can see the change log:
https://wordpress.org/plugins/ad-inserter/changelog/
You can try the development version which already includes this fix:
https://downloads.wordpress.org/plugin/ad-inserter.zip
Thread Starter
Rezly
(@rezly)
Hi,
i had already upgraded to the version 2.0.5 of ad inserter. Anyway, i’ve reloaded the plugin via FTP.
I don’t know, but sometimes, also with this version, the header entry AI_WP_DEBUGGING=deleted appears in the headers, unconditionally.
If you can, i suggest to insert an option for this. For example: check if you want to deleted cookie when wp-debugging is enabled. And if yes, the cookie will be inserted in the headers only when wp-debugging is enabled and only for admin console. If not, the cookie will not be inserted in the headers.
Or, more simply, insert an option in order to switch off the debug for ad inserter.
Thanks,
Lorenzo
Such switches already exist:
http://tinymonitor.com/ad-inserter#debugging
Cookie is generated only when you are logged in as admin and you enable debugging.
-
This reply was modified 9 years, 5 months ago by
Spacetime. Reason: typo