X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/53f4633144ed68c8b8fb5861f992b5489894a940..refs/tags/wordpress-4.5:/wp-admin/includes/taxonomy.php diff --git a/wp-admin/includes/taxonomy.php b/wp-admin/includes/taxonomy.php index 4f11bdbd..19f7ebe3 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 (); @@ -93,9 +93,9 @@ function wp_create_categories( $categories, $post_id = '' ) { * @param array $catarr { * Array of arguments for inserting a new category. * - * @type int $cat_ID Categoriy ID. A non-zero value updates an existing category. + * @type int $cat_ID Category ID. A non-zero value updates an existing category. * Default 0. - * @type string $taxonomy Taxonomy slug. Defualt 'category'. + * @type string $taxonomy Taxonomy slug. Default 'category'. * @type string $cat_name Category name. Default empty. * @type string $category_description Category description. Default empty. * @type string $category_nicename Category nice (display) name. Default empty.