Use get_current_screen() in list table classes. Fixes #15338
git-svn-id: http://svn.automattic.com/wordpress/trunk@16235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -290,7 +290,9 @@ class WP_Terms_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
function column_default( $tag, $column_name ) {
|
||||
return apply_filters( "manage_{$this->screen->taxonomy}_custom_column", '', $column_name, $tag->term_id );
|
||||
$screen = get_current_screen();
|
||||
|
||||
return apply_filters( "manage_{$screen->taxonomy}_custom_column", '', $column_name, $tag->term_id );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user