[wp-trac] [WordPress Trac] #23966: Allow to use order_by in addition to orderby (was: Allow to use order_by in addition to orderby -- was: order by count not honored by get_categories())

WordPress Trac noreply at wordpress.org
Tue Apr 9 18:44:56 UTC 2013


#23966: Allow to use order_by in addition to orderby
-------------------------------+------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Taxonomy           |     Version:  3.5
 Severity:  minor              |  Resolution:
 Keywords:  close              |
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => close
 * version:  trunk => 3.5


Comment:

 Replying to [comment:1 Denis-de-Bernardy]:
 > So, rephrasing this as an enhancement request: be more forgiving and
 allow to use order_by as well as orderby.

 Adding `order_by` as an alias for `orderby` just in `get_categories()`
 would be inconsistent with other functions that accept `orderby`.

 Doing that for all the functions still doesn't seem like a good idea.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23966#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list