From 82787b5842787806f4e6784f331d8afb4a4d4998 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 13 Jul 2015 12:58:07 +0000 Subject: [PATCH] Correct a parameter name in the docs for `wp_insert_category()`. git-svn-id: https://develop.svn.wordpress.org/trunk@33190 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 9529a2b24f..4f11bdbd4e 100644 --- a/src/wp-admin/includes/taxonomy.php +++ b/src/wp-admin/includes/taxonomy.php @@ -96,7 +96,7 @@ function wp_create_categories( $categories, $post_id = '' ) { * @type int $cat_ID Categoriy ID. A non-zero value updates an existing category. * Default 0. * @type string $taxonomy Taxonomy slug. Defualt 'category'. - * @type string $cat_nam Category name. Default empty. + * @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. * @type int|string $category_parent Category parent ID. Default empty.