[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
Thu Oct 29 10:14:29 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:  Awaiting Review
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:  administration
-------------------------------+------------------------------

Comment (by szaqal21):

 Replying to [comment:1 swissspidy]:
 > Probably the same reason as in #34473
 Unfortunately no, I've did a quick test and removed:

 {{{
 ...
 else {
         $orderby = 'date';
 }
 ...
 }}}

 from wp_edit_posts_query() and same notice is shown.

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


More information about the wp-trac mailing list