From f8909ca7d65a7b73c91c4aaebd44f7715e59bf3b Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 16 Dec 2015 19:58:40 +0000 Subject: [PATCH] Docs: Clarify the return value for `wp_create_categories()`. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35975 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/taxonomy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/taxonomy.php b/src/wp-admin/includes/taxonomy.php index 3d4154dae0..19f7ebe371 100644 --- a/src/wp-admin/includes/taxonomy.php +++ b/src/wp-admin/includes/taxonomy.php @@ -65,7 +65,7 @@ function wp_create_category( $cat_name, $parent = 0 ) { * * @param array $categories List of categories to create. * @param int $post_id Optional. The post ID. Default empty. - * @return List of categories to create for the given post. + * @return array List of categories to create for the given post. */ function wp_create_categories( $categories, $post_id = '' ) { $cat_ids = array ();