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:
parent
581707de6c
commit
dfab72aa35
|
@ -471,7 +471,7 @@ function wp_dropdown_categories( $args = '' ) {
|
||||||
* See get_terms(). Default true.
|
* See get_terms(). Default true.
|
||||||
* @type string $order Which direction to order categories. Accepts 'ASC' or 'DESC'.
|
* @type string $order Which direction to order categories. Accepts 'ASC' or 'DESC'.
|
||||||
* Default 'ASC'.
|
* 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 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 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.
|
* @type string $show_option_all Text to display for showing all categories. Default empty string.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue