[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 15:55:26 UTC 2016


#36741: Store `WP_Date_Query` instance in class property of `WP_Comment_Query`
--------------------------+-----------------------------
 Reporter:  flixos90      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  3.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 `WP_Comment_Query` has a class property `$date_query` which is supposed to
 hold the `WP_Date_Query` instance used by the main query, but it currently
 is not used at all. It's only used inside a class method at this point,
 however the date query instance should actually be available through the
 class property I think.

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


More information about the wp-trac mailing list