Make WordPress Core


Ignore:
Timestamp:
10/17/2020 04:03:58 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Fix and upgrade various object docblock notations.

See #50768

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-tag-form.php

    r47785 r49183  
    139139                        <?php
    140140                        /**
    141                          * Filters the editable slug.
     141                         * Filters the editable slug for a post or term.
    142142                         *
    143143                         * Note: This is a multi-use hook in that it is leveraged both for editable
    … …  
    149149                         * @param string          $slug The editable slug. Will be either a term slug or post URI depending
    150150                         *                              upon the context in which it is evaluated.
    151                          * @param WP_Term|WP_Post $tag  Term or WP_Post object.
     151                         * @param WP_Term|WP_Post $tag  Term or post object.
    152152                         */
    153153                        $slug = isset( $tag->slug ) ? apply_filters( 'editable_slug', $tag->slug, $tag ) : '';
Note: See TracChangeset for help on using the changeset viewer.