[wp-trac] [WordPress Trac] #22024: The query cache in WP_Comment_Query:query() is not invalidated when comments are added

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 3 20:59:10 UTC 2012


#22024: The query cache in WP_Comment_Query:query() is not invalidated when
comments are added
--------------------------+-----------------------
 Reporter:  ryan          |       Owner:  ryan
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.5
Component:  Comments      |     Version:  3.4.2
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------
Changes (by Ipstenu):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 On one site, this change is causing the following error when anyone leaves
 a comment:

 Fatal error: Call to undefined function wp_cache_incr() in
 /home/ipstenu/public_html/wp-includes/comment.php on line 1293

 I also can reproduce the error when trying to bulk-move comments.

 Fatal error: Call to undefined function wp_cache_incr() in
 /home/ipstenu/public_html/wp-includes/comment.php on line 1967

 I svn'd up, but I ''cannot'' reproduce this on more than one site
 (multisite). All sites on the network, regardless of plugins, have that
 error.

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


More information about the wp-trac mailing list