Opened 8 years ago
Closed 6 years ago
#43831 closed enhancement (wontfix)
parse_order method of WP_Query class.
| Reported by: | rnaby | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Query | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
the parse_order method of WP_Query class can be rewritten like this patch.
Attachments (1)
Change History (3)
#2
@
6 years ago
- Milestone Awaiting Review
- Resolution → wontfix
- Status new → closed
Hi there, thanks for the patch! Sorry it took so long for someone to get back to it.
The existing code looks a bit clearer to me, and is more consistent with the same method in other classes:
WP_Comment_Query::parse_order()WP_Network_Query::parse_order()WP_Site_Query::parse_order()WP_Term_Query::parse_order()WP_User_Query::parse_order()
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The patch for the issue.