danielbachhuber/Edit-Flow — comment on commit 6c58cd379fa8676acd2825aae6e2a57e3a449beb
File: common/php/helpers.php line 520
By mjangda:

I would rename this to something like `kill_ef_add_caps_to_role` so it's more obvious what the filter does. Also a comment why this is needed.

Also, this is one of those cases where the `$killswtich` var isn't needed. Just do something like

if ( apply_filters( 'kill_ef_add_caps_to_role', false, $role, $caps ) )