Make WordPress Core


Ignore:
Timestamp:
11/05/2010 10:11:15 PM (14 years ago)
Author:
scribu
Message:

Clean up WP_Terms_List_Table::column_default(). See #14579

File:
1 edited

Legend:

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

    r16182 r16214  
    291291
    292292    function column_default( $tag, $column_name ) {
    293         global $taxonomy;
    294 
    295         return apply_filters( "manage_${taxonomy}_custom_column", '', $column_name, $tag->term_id );
    296         $out .= "</td>";
     293        return apply_filters( "manage_{$this->screen->taxonomy}_custom_column", '', $column_name, $tag->term_id );
    297294    }
    298295
Note: See TracChangeset for help on using the changeset viewer.