[wp-trac] [WordPress Trac] #23966: Order by count not honored by get_categories()
WordPress Trac
noreply at wordpress.org
Sat Apr 6 19:36:46 UTC 2013
#23966: Order by count not honored by get_categories()
-------------------------------+--------------------------
Reporter: Denis-de-Bernardy | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: General
Version: | Severity: normal
Keywords: |
-------------------------------+--------------------------
http://codex.wordpress.org/Function_Reference/get_categories
The above link and the same for wp_list_categories suggests that you can
order categories by count. In practice it seems to ignore the parameter.
It doesn't seem to work with a few other parameters either -- the only
things that seem to work are ID, name, and slug, but these might merely be
incidental to the fact that I created my test categories in alphabetical
order.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23966>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list