[wp-trac] [WordPress Trac] #35075: Comment cache ignores custom query vars

WordPress Trac noreply at wordpress.org
Thu Jan 7 03:35:51 UTC 2016


#35075: Comment cache ignores custom query vars
-----------------------------+--------------------------
 Reporter:  jason_the_adams  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.5
Component:  Comments         |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  performance
-----------------------------+--------------------------
Changes (by boonebgorges):

 * keywords:   => needs-patch


Comment:

 Thanks, @mdawaffe.

 > Should I throw together a patch that removes the restrictions and caches
 the entire array for comments, taxonomies, and pages?

 OK. It would also be nice to have unit tests demonstrating that the cache
 is sensitive to custom query vars.

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


More information about the wp-trac mailing list