WordPress.org

Make WordPress Core

Ticket #49808: 49808.diff

File 49808.diff, 1007 bytes (added by joemcgill, 17 months ago)
  • src/wp-admin/includes/class-wp-terms-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-terms-list-table.php b/src/wp-admin/includes/class-wp-terms-list-table.php
    index 2d9aca5932..08c785a192 100644
    a b class WP_Terms_List_Table extends WP_List_Table { 
    507507                 * Filters the action links displayed for each term in the Tags list table.
    508508                 *
    509509                 * @since 2.8.0
    510                  * @deprecated 3.0.0 Use {@see '{$taxonomy}_row_actions'} instead.
    511510                 *
    512511                 * @param string[] $actions An array of action links to be displayed. Default
    513512                 *                          'Edit', 'Quick Edit', 'Delete', and 'View'.
    514513                 * @param WP_Term  $tag     Term object.
    515514                 */
    516                 $actions = apply_filters_deprecated( 'tag_row_actions', array( $actions, $tag ), '3.0.0', '{$taxonomy}_row_actions' );
     515                $actions = apply_filters( 'tag_row_actions', $actions, $tag );
    517516
    518517                /**
    519518                 * Filters the action links displayed for each term in the terms list table.