Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way.

See #49572.

git-svn-id: https://develop.svn.wordpress.org/trunk@48104 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-06-20 12:00:07 +00:00
parent 7179459b79
commit 5e2ef3d937
41 changed files with 162 additions and 147 deletions

View File

@@ -732,7 +732,7 @@ function wp_get_post_cats($blogid = '1', $post_ID = 0) {
}
/**
* Sets the categories that the post id belongs to.
* Sets the categories that the post ID belongs to.
*
* @since 1.0.1
* @deprecated 2.1.0
@@ -2498,7 +2498,7 @@ function is_taxonomy( $taxonomy ) {
* @param int|string $term The term to check
* @param string $taxonomy The taxonomy name to use
* @param int $parent ID of parent term under which to confine the exists search.
* @return mixed Get the term id or Term Object, if exists.
* @return mixed Get the term ID or term object, if exists.
*/
function is_term( $term, $taxonomy = '', $parent = 0 ) {
_deprecated_function( __FUNCTION__, '3.0.0', 'term_exists()' );