[wp-trac] [WordPress Trac] #45800: Add short circuits for WP_Comment_Query

WordPress Trac noreply at wordpress.org
Wed Jun 12 13:00:28 UTC 2019


#45800: Add short circuits for WP_Comment_Query
--------------------------------------+------------------------------
 Reporter:  spacedmonkey              |       Owner:  adamsilverstein
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.3
Component:  Comments                  |     Version:  3.1
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by spacedmonkey):

 I worked on both patches for user and site / network pre filters. I guess
 it is a query of what the filter is trying to do. Is the filter trying to
 highjack query on the database and return filtered comment ids or trying
 to stop any queries running in the first place.

 I would agrue that other such filter, only highjack the query to get the
 data, not let you return your own data in place.

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


More information about the wp-trac mailing list