[wp-trac] [WordPress Trac] #36741: Store `WP_Date_Query` instance in class property of `WP_Comment_Query`

WordPress Trac noreply at wordpress.org
Tue May 3 16:14:31 UTC 2016


#36741: Store `WP_Date_Query` instance in class property of `WP_Comment_Query`
--------------------------+---------------------------
 Reporter:  flixos90      |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.6
Component:  Comments      |     Version:  3.1
 Severity:  minor         |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37354"]:
 {{{
 #!CommitTicketReference repository="" revision="37354"
 `date_query` should be a property on `WP_Comment_Query` objects.

 Instead of a local variable.

 Props flixos90.
 Fixes #36741.
 }}}

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


More information about the wp-trac mailing list