From e4e24c84de81c14e3f6cf02310021c87ec5a5d59 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 24 Jan 2021 14:06:15 +0000 Subject: [PATCH] Docs: Correct default value for the `number` argument of `wp_tag_cloud()`. Follow-up to [42658]. Props audrasjb, pawki07. Fixes #52348. git-svn-id: https://develop.svn.wordpress.org/trunk@50009 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/category-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php index 5a62cc8b3b..5af7173a9d 100644 --- a/src/wp-includes/category-template.php +++ b/src/wp-includes/category-template.php @@ -689,7 +689,7 @@ function wp_list_categories( $args = '' ) { * and get_terms() for the full lists of arguments that can be passed in `$args`. * * @type int $number The number of tags to display. Accepts any positive integer - * or zero to return all. Default 0 (all tags). + * or zero to return all. Default 45. * @type string $link Whether to display term editing links or term permalinks. * Accepts 'edit' and 'view'. Default 'view'. * @type string $post_type The post type. Used to highlight the proper post type menu