WP_Terms_List_Table check_permissions() dead code
|Reported by:||duck_||Owned by:||scribu|
$cap is set but never used. The only occurrence of passing an argument to check_permissions is in admin-ajax.php which sends 'edit'. Patch sets default cap to be manage_terms, but can be changed to edit_terms by passing 'edit', this means caps check is consistent with pre-list-tables.