[wp-hackers] Caching of comments (trac 4387)

Knut-Olav Hoven hovenko at linpro.no
Fri Jun 1 12:40:55 GMT 2007


I have posted a ticket on trac about a problem with comments caching.

There are three patches attached.

Ticket URL:
- http://trac.wordpress.org/ticket/4387


The last patch will also call on the action hook "wp_set_comment_status" after 
updating the comment with the function edit_comment, since that function 
might update the comment status as well.

The reason for this was because the wp-admin/moderation.php will call on the 
hook "wp_set_comment_status", but when editing comments from 
wp-admin/comment.php it will call on the hook "edit_comment". Where's the 
logic?



-- 
Knut-Olav Hoven
Systemutvikler               mob: +47 986 71 700
Linpro AS                    http://www.linpro.no/


More information about the wp-hackers mailing list