[wp-trac] [WordPress Trac] #17065: Independent ASC/DESC in multiple ORDER BY statement.

WordPress Trac noreply at wordpress.org
Tue Jun 11 02:13:10 UTC 2024


#17065: Independent ASC/DESC in multiple ORDER BY statement.
----------------------------+-----------------------
 Reporter:  ericmann        |       Owner:  ericmann
     Type:  task (blessed)  |      Status:  closed
 Priority:  normal          |   Milestone:  4.0
Component:  Query           |     Version:  3.1
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------

Comment (by peterwilsoncc):

 In [changeset:"58379" 58379]:
 {{{
 #!CommitTicketReference repository="" revision="58379"
 Administration: Prevent an orderby array throwing a notice.

 Prevent `WP_List_Table::search_box()` from throwing an array to string
 conversion notice when post list tables are loaded with an array of
 orderby parameters in the URL, eg: `/wp-
 admin/edit.php?post_type=page&orderby[menu_order]=ASC&orderby[title]=ASC`.

 Follow up to [29027].

 Props leonidasmilossis, rajinsharwar, swissspidy, NomNom99, pls78,
 SergeyBiryukov.
 Fixes #59494.
 See #17065.
 }}}

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


More information about the wp-trac mailing list