[wp-trac] [WordPress Trac] #34479: New get_orderby() method of class-wp-posts-list-table.class doesn't allow query orderby var to be an array

WordPress Trac noreply at wordpress.org
Sat Nov 7 16:13:57 UTC 2015


#34479: New get_orderby() method of class-wp-posts-list-table.class doesn't allow
query orderby var to be an array
-------------------------------------------------+-------------------------
 Reporter:  szaqal21                             |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  4.4
Component:  Posts, Post Types                    |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-       |     Focuses:
  refresh                                        |  administration
-------------------------------------------------+-------------------------

Comment (by bordoni):

 @wonderboymusic on the ''get_order'' method I've set a conditional for if
 the array on ''orderby'' is associative, and then setting order as an
 array with the values. Unless I've mistaken what you said on comment#7,
 please let me know.

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


More information about the wp-trac mailing list