Skip to content

Commit 0b3c94b

Browse files
committed
Make it clear that the term ID is what is returned
1 parent 61673a5 commit 0b3c94b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-admin/includes/taxonomy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function get_category_to_edit( $id ) {
5050
*
5151
* @param string $category_name Category name.
5252
* @param int $category_parent Optional. ID of parent category.
53-
* @return int The ID of category on success, or zero on failure.
53+
* @return int The ID of category term on success, or zero on failure.
5454
*/
5555
function wp_create_category( $category_name, $category_parent = 0 ) {
5656
$id = category_exists( $category_name, $category_parent );

0 commit comments

Comments
 (0)