Opened 7 years ago
Closed 7 years ago
#47392 closed defect (bug) (fixed)
Update date_query condition to verify param data in proper order
| Reported by: | vishalkakadiya | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.3 |
| Component: | Date/Time | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description (last modified by )
Here the code is doing something that it's using array values like $date_query['relation'] first then it's checking for ! is_array which looking not proper and also we are checking empty value late so I have updated them in this PR.
Let me know if any other changes needed here. Thanks!
Attachments (1)
Change History (7)
This ticket was mentioned in Slack in #core-datetime by rarst. View the logs.
7 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
@vishalkakadiya good cache. i have tested above patch it working fine for me.
@desrosj can you please check it.