[wp-trac] [WordPress Trac] #36904: Add caching to comment feed in WP_Query

WordPress Trac noreply at wordpress.org
Wed May 25 23:23:48 UTC 2016


#36904: Add caching to comment feed in WP_Query
------------------------------+-----------------------------
 Reporter:  spacedmonkey      |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Query             |     Version:  2.2
 Severity:  normal            |  Resolution:
 Keywords:  needs-unit-tests  |     Focuses:  performance
------------------------------+-----------------------------
Changes (by spacedmonkey):

 * keywords:  needs-unit-tests needs-patch => needs-unit-tests


Comment:

 So I have been hacking around and I think that converting to
 wp_comment_query might work. The biggest issue is backwards compablity
 with the filters. Otherwise It works much nice with wp_comment_query.
 Added a logical filter for the args as well. I think this second patch is
 the one we should be working towards.

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


More information about the wp-trac mailing list