[wp-trac] [WordPress Trac] #17976: Make comment_* cookies pluggable

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 4 12:17:12 UTC 2011


#17976: Make comment_* cookies pluggable
-----------------------------+-----------------------------
 Reporter:  pishmishy        |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Comments         |    Version:  3.2
 Severity:  normal           |   Keywords:  has-patch
-----------------------------+-----------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17976>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list