[wp-trac] Re: [WordPress Trac] #4996: Allow control over setting commenter cookies

WordPress Trac wp-trac at lists.automattic.com
Wed May 6 20:57:20 GMT 2009


#4996: Allow control over setting commenter cookies
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:  westi           
     Type:  enhancement   |      Status:  assigned        
 Priority:  normal        |   Milestone:  2.8             
Component:  General       |     Version:  2.3             
 Severity:  normal        |    Keywords:  has-patch commit
--------------------------+-------------------------------------------------

Comment(by westi):

 Nice idea.

 Even simpler patch for it though, which is also more flexible.

 Sample plugin code

 {{{
 function kill_comment_cookies()
 {
         return -1;
 }

 add_filter('comment_cookie_lifetime', 'kill_comment_cookies');
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/4996#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list