Make comment_* cookies pluggable
|Reported by:||pishmishy||Owned by:||westi|
EU legislation dictates that some particular uses of cookies must first require consent from the user. The exact implementation of the EU legislation is dependent upon the individual member states and so there are a number of conflicting and confusing ideas over what types of cookies can be used with and without consent. See http://en.wikipedia.org/wiki/Directive_on_Privacy_and_Electronic_Communications for more details.
The functionality provided by the comment_ cookies set by WordPress is arguably not required for a WordPress site to function and in some parts of the EU consent may be required. Regardless of your view on the sensibilities of this we should allow site administrators to override the default behavior with a plugin if necessary.
(I am not proposing that the default behavior of WordPress be modified in any form in order to meet the requirements of any of this confusing legislation. See the forums for debates about this).
I'm attaching a patch that makes the calls to set_cookie from wp-comment-post.php pluggable. I've also got an example plugin, please let me know if posting it would be helpful.
Change History (29)
comment:11 follow-ups: ↓ 12 ↓ 15 WhiteJV — 21 months ago
comment:13 follow-up: ↓ 14 westi — 21 months ago
- Keywords westi-likes added
- Milestone changed from Awaiting Review to 3.3
- Owner set to westi
- Status changed from new to accepted
comment:15 in reply to: ↑ 11 SergeyBiryukov — 21 months ago
comment:18 ryan — 20 months ago
- Keywords early added; westi-likes removed
- Milestone changed from 3.3 to Future Release