Make WordPress Core


Ignore:
Timestamp:
05/07/2018 05:19:48 PM (7 years ago)
Author:
johnbillion
Message:

Docs: Update and correct various inline documentation.

See #42505, #41756

File:
1 edited

Legend:

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

    r42871 r43177  
    811811
    812812    /**
    813      * Filters a term.
     813     * Filters a taxonomy term object.
    814814     *
    815815     * @since 2.3.0
    816      * @since 4.4.0 `$_term` can now also be a WP_Term object.
    817      *
    818      * @param int|WP_Term $_term    Term object or ID.
    819      * @param string      $taxonomy The taxonomy slug.
     816     * @since 4.4.0 `$_term` is now a `WP_Term` object.
     817     *
     818     * @param WP_Term $_term    Term object.
     819     * @param string  $taxonomy The taxonomy slug.
    820820     */
    821821    $_term = apply_filters( 'get_term', $_term, $taxonomy );
    822822
    823823    /**
    824      * Filters a taxonomy.
     824     * Filters a taxonomy term object.
    825825     *
    826826     * The dynamic portion of the filter name, `$taxonomy`, refers
    827      * to the taxonomy slug.
     827     * to the slug of the term's taxonomy.
    828828     *
    829829     * @since 2.3.0
    830      * @since 4.4.0 `$_term` can now also be a WP_Term object.
    831      *
    832      * @param int|WP_Term $_term    Term object or ID.
    833      * @param string      $taxonomy The taxonomy slug.
     830     * @since 4.4.0 `$_term` is now a `WP_Term` object.
     831     *
     832     * @param WP_Term $_term    Term object.
     833     * @param string  $taxonomy The taxonomy slug.
    834834     */
    835835    $_term = apply_filters( "get_{$taxonomy}", $_term, $taxonomy );
Note: See TracChangeset for help on using the changeset viewer.