Make WordPress Core


Ignore:
Timestamp:
09/04/2020 08:39:47 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Various docblock corrections and improvements.

See #50768

File:
1 edited

Legend:

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

    r48843 r48941  
    887887         * Filters a taxonomy term object.
    888888         *
     889         * The {@see 'get_$taxonomy'} hook is also available for targeting a specific
     890         * taxonomy.
     891         *
    889892         * @since 2.3.0
    890893         * @since 4.4.0 `$_term` is now a `WP_Term` object.
    … …  
    19871990         * Fires after a term is deleted from the database and the cache is cleaned.
    19881991         *
     1992         * The {@see 'delete_$taxonomy'} hook is also available for targeting a specific
     1993         * taxonomy.
     1994         *
    19891995         * @since 2.5.0
    19901996         * @since 4.5.0 Introduced the `$object_ids` argument.
    … …  
    19931999         * @param int     $tt_id        Term taxonomy ID.
    19942000         * @param string  $taxonomy     Taxonomy slug.
    1995          * @param mixed   $deleted_term Copy of the already-deleted term, in the form specified
    1996          *                              by the parent function. WP_Error otherwise.
     2001         * @param WP_Term $deleted_term Copy of the already-deleted term.
    19972002         * @param array   $object_ids   List of term object IDs.
    19982003         */
    … …  
    20102015         * @param int     $term         Term ID.
    20112016         * @param int     $tt_id        Term taxonomy ID.
    2012          * @param mixed   $deleted_term Copy of the already-deleted term, in the form specified
    2013          *                              by the parent function. WP_Error otherwise.
     2017         * @param WP_Term $deleted_term Copy of the already-deleted term.
    20142018         * @param array   $object_ids   List of term object IDs.
    20152019         */
    … …  
    21822186 * @param string       $taxonomy The taxonomy to which to add the term.
    21832187 * @param array|string $args {
    2184  *     Optional. Array or string of arguments for inserting a term.
     2188 *     Optional. Array or query string of arguments for inserting a term.
    21852189 *
    21862190 *     @type string $alias_of    Slug of the term to make this term an alias of.
    … …  
    31053109
    31063110        /**
    3107          * Fires immediately after the given terms are edited.
     3111         * Fires immediately after a term is updated in the database, but before its
     3112         * term-taxonomy relationship is updated.
    31083113         *
    31093114         * @since 2.9.0
    … …  
    31383143        /**
    31393144         * Fires after a term has been updated, but before the term cache has been cleaned.
     3145         *
     3146         * The {@see 'edit_$taxonomy'} hook is also available for targeting a specific
     3147         * taxonomy.
    31403148         *
    31413149         * @since 2.3.0
    … …  
    31673175        /**
    31683176         * Fires after a term has been updated, and the term cache has been cleaned.
     3177         *
     3178         * The {@see 'edited_$taxonomy'} hook is also available for targeting a specific
     3179         * taxonomy.
    31693180         *
    31703181         * @since 2.3.0
Note: See TracChangeset for help on using the changeset viewer.