[wp-trac] [WordPress Trac] #43831: parse_order method of WP_Query class.

WordPress Trac noreply at wordpress.org
Sat Aug 8 21:31:34 UTC 2020


#43831: parse_order method of WP_Query class.
-------------------------+----------------------
 Reporter:  rnaby        |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Query        |     Version:
 Severity:  normal       |  Resolution:  wontfix
 Keywords:  has-patch    |     Focuses:
-------------------------+----------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 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()`

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


More information about the wp-trac mailing list