[wp-trac] [WordPress Trac] #47392: Update date_query condition to verify param data in proper order

WordPress Trac noreply at wordpress.org
Mon Aug 19 15:16:28 UTC 2019


#47392: Update date_query condition to verify param data in proper order
----------------------------+-----------------------------
 Reporter:  vishalkakadiya  |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  5.3
Component:  Date/Time       |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45850" 45850]:
 {{{
 #!CommitTicketReference repository="" revision="45850"
 Date/Time: In `WP_Date_Query::__construct()`, return early if
 `$date_query` is empty or not an array.

 Props vishalkakadiya.
 Fixes #47392.
 }}}

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


More information about the wp-trac mailing list