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

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 4 12:29:20 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           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------

Comment (by dd32):

 Whilst it adds a set-cookie to the response still, returning a negitive
 value on the comment_cookie_lifetime filter should also comply, as a
 browser would not store the cookie, and would delete any existing cookies.

 However, we should avoid adding pluggable functions, and instead should
 alter the process to perform the cookie-adding routines in a function
 hooked to an action.

 See Also: #16979

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


More information about the wp-trac mailing list