WordPress.org

Make WordPress Core

Changeset 38489


Ignore:
Timestamp:
09/01/2016 12:39:44 AM (3 years ago)
Author:
johnbillion
Message:

Taxonomy: Update various docs for parameters which are now WP_Term objects.

See #37770
See #14162

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-terms-list-table.php

    r38334 r38489  
    314314    /**
    315315     * @global string $taxonomy
    316      * @param object $tag
     316     * @param WP_Term $tag Term object.
    317317     * @param int $level
    318318     */
     
    329329
    330330    /**
    331      * @param object $tag
     331     * @param WP_Term $tag Term object.
    332332     * @return string
    333333     */
     
    343343
    344344    /**
    345      * @param object $tag
     345     * @param WP_Term $tag Term object.
    346346     * @return string
    347347     */
     
    362362         *
    363363         * @param string $pad_tag_name The term name, padded if not top-level.
    364          * @param object $tag          Term object.
     364         * @param WP_Term $tag         Term object.
    365365         */
    366366        $name = apply_filters( 'term_name', $pad . ' ' . $tag->name, $tag );
     
    412412     * @access protected
    413413     *
    414      * @param object $tag         Tag being acted upon.
    415      * @param string $column_name Current column name.
    416      * @param string $primary     Primary column name.
     414     * @param WP_Term $tag         Tag being acted upon.
     415     * @param string  $column_name Current column name.
     416     * @param string  $primary     Primary column name.
    417417     * @return string Row actions output for terms.
    418418     */
     
    477477         * @param array  $actions An array of action links to be displayed. Default
    478478         *                        'Edit', 'Quick Edit', 'Delete', and 'View'.
    479          * @param object $tag     Term object.
     479         * @param WP_Term $tag    Term object.
    480480         */
    481481        $actions = apply_filters( 'tag_row_actions', $actions, $tag );
     
    490490         * @param array  $actions An array of action links to be displayed. Default
    491491         *                        'Edit', 'Quick Edit', 'Delete', and 'View'.
    492          * @param object $tag     Term object.
     492         * @param WP_Term $tag    Term object.
    493493         */
    494494        $actions = apply_filters( "{$taxonomy}_row_actions", $actions, $tag );
     
    498498
    499499    /**
    500      * @param object $tag
     500     * @param WP_Term $tag Term object.
    501501     * @return string
    502502     */
     
    506506
    507507    /**
    508      * @param object $tag
     508     * @param WP_Term $tag Term object.
    509509     * @return string
    510510     */
     
    515515
    516516    /**
    517      * @param object $tag
     517     * @param WP_Term $tag Term object.
    518518     * @return string
    519519     */
     
    543543
    544544    /**
    545      * @param object $tag
     545     * @param WP_Term $tag Term object.
    546546     * @return string
    547547     */
     
    554554
    555555    /**
    556      * @param object $tag
     556     * @param WP_Term $tag Term object.
    557557     * @param string $column_name
    558558     * @return string
Note: See TracChangeset for help on using the changeset viewer.