Make WordPress Core


Ignore:
Timestamp:
06/20/2020 12:00:07 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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

See #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/deprecated.php

    r47612 r48104  
    733733
    734734/**
    735  * Sets the categories that the post id belongs to.
     735 * Sets the categories that the post ID belongs to.
    736736 *
    737737 * @since 1.0.1
     
    24992499 * @param string $taxonomy The taxonomy name to use
    25002500 * @param int $parent ID of parent term under which to confine the exists search.
    2501  * @return mixed Get the term id or Term Object, if exists.
     2501 * @return mixed Get the term ID or term object, if exists.
    25022502 */
    25032503function is_term( $term, $taxonomy = '', $parent = 0 ) {
Note: See TracChangeset for help on using the changeset viewer.