[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
Thu Oct 4 14:01:54 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:  closed
 Priority:  normal        |   Milestone:  3.5
Component:  Comments      |     Version:  3.4.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------

Comment (by ocean90):

 Replying to [comment:8 nacin]:
 > Well, two different things. That's a limited-use method that does a
 function_exists() check, and if it doesn't exist, we do a decent amount of
 code. incr() and decr() are "nice-to-haves" that at worst can be replaced
 with a get() and set(). I'll let ryan determine what he wants to do here.

 Yeah, you are right. It was too late yesterday.

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


More information about the wp-trac mailing list