[wp-trac] [WordPress Trac] #59494: Passing orderby as array in URL results in Notice
    WordPress Trac 
    noreply at wordpress.org
       
    Tue Jun 11 02:13:10 UTC 2024
    
    
  
#59494: Passing orderby as array in URL results in Notice
---------------------------------------------+----------------------------
 Reporter:  NomNom99                         |       Owner:  peterwilsoncc
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  6.6
Component:  Administration                   |     Version:  4.0
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+----------------------------
Changes (by peterwilsoncc):
 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed
Comment:
 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/59494#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list