Docs: Default for the `orderby` argument in `wp_list_categories()` is actually 'name', not 'ID'.

Props uicestone.
See #41017.


git-svn-id: https://develop.svn.wordpress.org/trunk@41033 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2017-07-12 22:05:54 +00:00
parent 7e8d932935
commit 994ef530d1
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ function wp_dropdown_categories( $args = '' ) {
* See get_terms(). Default true.
* @type string $order Which direction to order categories. Accepts 'ASC' or 'DESC'.
* Default 'ASC'.
* @type string $orderby The column to use for ordering categories. Default 'ID'.
* @type string $orderby The column to use for ordering categories. Default 'name'.
* @type string $separator Separator between links. Default '<br />'.
* @type bool|int $show_count Whether to show how many posts are in the category. Default 0.
* @type string $show_option_all Text to display for showing all categories. Default empty string.