WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/07/2019 07:06:41 PM (21 months ago)
Author:
johnbillion
Message:

Docs: Miscellaneous inline docs corrections and improvements.

See #47110

File:
1 edited

Legend:

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

    r46232 r46424  
    33063306
    33073307/**
    3308  * Retrieves the taxonomy relationship to the term object id.
     3308 * Retrieves the cached term objects for the given object ID.
    33093309 *
    33103310 * Upstream functions (like get_the_terms() and is_object_in_term()) are
     
    33133313 *
    33143314 * @since 2.3.0
    3315  * @since 4.7.0 Returns a `WP_Error` object if `get_term()` returns an error for
     3315 * @since 4.7.0 Returns a `WP_Error` object if there's an error with
    33163316 *              any of the matched terms.
    33173317 *
    3318  * @param int    $id       Term object ID.
     3318 * @param int    $id       Term object ID, for example a post, comment, or user ID.
    33193319 * @param string $taxonomy Taxonomy name.
    3320  * @return bool|array|WP_Error Array of `WP_Term` objects, if cached.
    3321  *                             False if cache is empty for `$taxonomy` and `$id`.
    3322  *                             WP_Error if get_term() returns an error object for any term.
     3320 * @return bool|WP_Term[]|WP_Error Array of `WP_Term` objects, if cached.
     3321 *                                 False if cache is empty for `$taxonomy` and `$id`.
     3322 *                                 WP_Error if get_term() returns an error object for any term.
    33233323 */
    33243324function get_object_term_cache( $id, $taxonomy ) {
Note: See TracChangeset for help on using the changeset viewer.