[wp-trac] [WordPress Trac] #63690: Use `comment_cookie_lifetime` filter when removing comment cookies for consistency

WordPress Trac noreply at wordpress.org
Fri Jul 11 08:15:48 UTC 2025


#63690: Use `comment_cookie_lifetime` filter when removing comment cookies for
consistency
----------------------------------------------------+----------------------
 Reporter:  akshaykungiri                           |       Owner:  (none)
     Type:  enhancement                             |      Status:  closed
 Priority:  normal                                  |   Milestone:
Component:  Comments                                |     Version:  trunk
 Severity:  normal                                  |  Resolution:  invalid
 Keywords:  has-patch needs-testing good-first-bug  |     Focuses:
----------------------------------------------------+----------------------
Changes (by johnbillion):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the report @akshaykungiri but the cookie lifetime has no
 relevance here because the cookie's expiry date is being set to a date in
 the past in order to invalidate it. The lifetime doesn't need to be taken
 into account.

 Cheers!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63690#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list