From b6c660c38f7696477001719266b2b38e7af2fa8c Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 16 Dec 2015 19:59:27 +0000 Subject: [PATCH] Docs: Clarify the return value for `wp_create_categories()`. See #32246. Built from https://develop.svn.wordpress.org/trunk@35975 git-svn-id: http://core.svn.wordpress.org/trunk@35940 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/taxonomy.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/taxonomy.php b/wp-admin/includes/taxonomy.php index 3d4154dae0..19f7ebe371 100644 --- a/wp-admin/includes/taxonomy.php +++ b/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 (); diff --git a/wp-includes/version.php b/wp-includes/version.php index ecdbc2d22a..bf2e7624a1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-35974'; +$wp_version = '4.5-alpha-35975'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.