[wp-trac] [WordPress Trac] #38442: Error when WP_Query parses orderby array in function parse_order

WordPress Trac noreply at wordpress.org
Tue Apr 2 20:03:42 UTC 2019


#38442: Error when WP_Query parses orderby array in function parse_order
--------------------------------------+-----------------------------
 Reporter:  oloynet                   |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Future Release
Component:  Query                     |     Version:  4.2
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------

Comment (by boonebgorges):

 Logic of [attachment:"38442.diff"] looks good to me.

 Ideally, we'd also have a test that demonstrates the bug's effect on query
 results, not just the MySQL query string.

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


More information about the wp-trac mailing list