WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/22/2018 08:26:06 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Document many more parameters and properties using typed array notation.

See #41756

File:
1 edited

Legend:

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

    r42727 r42871  
    487487         * @deprecated 3.0.0 Use {$taxonomy}_row_actions instead.
    488488         *
    489          * @param array $actions An array of action links to be displayed. Default
    490          *                        'Edit', 'Quick Edit', 'Delete', and 'View'.
    491          * @param WP_Term $tag    Term object.
     489         * @param string[] $actions An array of action links to be displayed. Default
     490         *                          'Edit', 'Quick Edit', 'Delete', and 'View'.
     491         * @param WP_Term  $tag     Term object.
    492492         */
    493493        $actions = apply_filters( 'tag_row_actions', $actions, $tag );
     
    500500         * @since 3.0.0
    501501         *
    502          * @param array $actions An array of action links to be displayed. Default
    503          *                        'Edit', 'Quick Edit', 'Delete', and 'View'.
    504          * @param WP_Term $tag    Term object.
     502         * @param string[] $actions An array of action links to be displayed. Default
     503         *                          'Edit', 'Quick Edit', 'Delete', and 'View'.
     504         * @param WP_Term  $tag     Term object.
    505505         */
    506506        $actions = apply_filters( "{$taxonomy}_row_actions", $actions, $tag );
Note: See TracChangeset for help on using the changeset viewer.