Skip to content

Commit cd46b2b

Browse files
committed
Docs: Use third-person singular verbs for function descriptions in the Taxonomy Administration API.
See #55646. git-svn-id: https://develop.svn.wordpress.org/trunk@53516 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 3db14aa commit cd46b2b

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/wp-admin/includes/taxonomy.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//
1212

1313
/**
14-
* Check whether a category exists.
14+
* Checks whether a category exists.
1515
*
1616
* @since 2.0.0
1717
*
@@ -30,7 +30,7 @@ function category_exists( $cat_name, $category_parent = null ) {
3030
}
3131

3232
/**
33-
* Get category object for given ID and 'edit' filter context.
33+
* Gets category object for given ID and 'edit' filter context.
3434
*
3535
* @since 2.0.0
3636
*
@@ -44,7 +44,7 @@ function get_category_to_edit( $id ) {
4444
}
4545

4646
/**
47-
* Add a new category to the database if it does not already exist.
47+
* Adds a new category to the database if it does not already exist.
4848
*
4949
* @since 2.0.0
5050
*
@@ -67,7 +67,7 @@ function wp_create_category( $cat_name, $category_parent = 0 ) {
6767
}
6868

6969
/**
70-
* Create categories for the given post.
70+
* Creates categories for the given post.
7171
*
7272
* @since 2.0.0
7373
*
@@ -210,7 +210,7 @@ function wp_update_category( $catarr ) {
210210
//
211211

212212
/**
213-
* Check whether a post tag with a given name exists.
213+
* Checks whether a post tag with a given name exists.
214214
*
215215
* @since 2.3.0
216216
*
@@ -224,7 +224,7 @@ function tag_exists( $tag_name ) {
224224
}
225225

226226
/**
227-
* Add a new tag to the database if it does not already exist.
227+
* Adds a new tag to the database if it does not already exist.
228228
*
229229
* @since 2.3.0
230230
*
@@ -236,7 +236,7 @@ function wp_create_tag( $tag_name ) {
236236
}
237237

238238
/**
239-
* Get comma-separated list of tags available to edit.
239+
* Gets comma-separated list of tags available to edit.
240240
*
241241
* @since 2.3.0
242242
*
@@ -249,7 +249,7 @@ function get_tags_to_edit( $post_id, $taxonomy = 'post_tag' ) {
249249
}
250250

251251
/**
252-
* Get comma-separated list of terms available to edit for the given post ID.
252+
* Gets comma-separated list of terms available to edit for the given post ID.
253253
*
254254
* @since 2.8.0
255255
*
@@ -298,7 +298,7 @@ function get_terms_to_edit( $post_id, $taxonomy = 'post_tag' ) {
298298
}
299299

300300
/**
301-
* Add a new term to the database if it does not already exist.
301+
* Adds a new term to the database if it does not already exist.
302302
*
303303
* @since 2.8.0
304304
*

0 commit comments

Comments
 (0)