Opened 7 years ago
Closed 5 years ago
#43831 closed enhancement (wontfix)
parse_order method of WP_Query class.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Query | Keywords: | has-patch |
Focuses: | Cc: |
Description
the parse_order
method of WP_Query
class can be rewritten like this patch.
Attachments (1)
Change History (3)
#2
@
5 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to 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.
The patch for the issue.