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

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 4 13:26:45 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):

 as an example, all I'd do is:

 in default-filters:
 add_action('commented_on_post', 'add_commenter_cookies'); (need to check
 that action)

 in a plugin on an appropriate hook (probably init?)
 remove_action('commented_on_post', 'add_commenter_cookies');

 and put the add_commenter_cookies function into the comments include
 file..

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


More information about the wp-trac mailing list