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

Props uicestone.
See #41017.

Built from https://develop.svn.wordpress.org/trunk@41033


git-svn-id: http://core.svn.wordpress.org/trunk@40883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2017-07-12 22:06:39 +00:00
parent 581707de6c
commit dfab72aa35
2 changed files with 2 additions and 2 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.

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-alpha-41032';
$wp_version = '4.9-alpha-41033';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.