mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-05 17:50:03 +00:00
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:
@@ -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()' );
|
||||
|
||||
Reference in New Issue
Block a user