[wp-trac] [WordPress Trac] #28399: Allow WP_Query to query by comment_count column of CPT/posts table

WordPress Trac noreply at wordpress.org
Tue Jun 27 06:36:05 UTC 2017


#28399: Allow WP_Query to query by comment_count column of CPT/posts table
--------------------------------------+------------------
 Reporter:  ramon fincken             |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  4.9
Component:  Query                     |     Version:  4.0
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------

Comment (by ramon fincken):

 I will check this tonight or tomorrow. Quick one yet: if we use prepare,
 why still use the intval on top?

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


More information about the wp-trac mailing list