[wp-trac] [WordPress Trac] #29902: Allow no ORDER BY for comments in WP_Comment_Query

WordPress Trac noreply at wordpress.org
Fri Oct 24 02:33:48 UTC 2014


#29902: Allow no ORDER BY for comments in WP_Comment_Query
-------------------------+------------------------------
 Reporter:  psycleuk     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Comments     |     Version:  4.0
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+------------------------------

Comment (by boonebgorges):

 In [changeset:"30003"]:
 {{{
 #!CommitTicketReference repository="" revision="30003"
 Add unit tests for WP_Comment_Query 'orderby' param.

 For better testability, the SQL string generated in
 `WP_Comment_Query::get_posts()`
 is now stored as a 'request' property on the object.

 See #29902.
 }}}

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


More information about the wp-trac mailing list