Clean up WP_Terms_List_Table::column_default(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16214 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6a8c5b337b
commit
f159895605
|
@ -290,10 +290,7 @@ class WP_Terms_List_Table extends WP_List_Table {
|
||||||
}
|
}
|
||||||
|
|
||||||
function column_default( $tag, $column_name ) {
|
function column_default( $tag, $column_name ) {
|
||||||
global $taxonomy;
|
return apply_filters( "manage_{$this->screen->taxonomy}_custom_column", '', $column_name, $tag->term_id );
|
||||||
|
|
||||||
return apply_filters( "manage_${taxonomy}_custom_column", '', $column_name, $tag->term_id );
|
|
||||||
$out .= "</td>";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue