[wp-hackers] "role_has_cap" Filter

Viper007Bond viper at viper007bond.com
Tue Apr 8 12:02:46 GMT 2008


I'm trying to make  current_user_can( 'edit_dashboard' )  return TRUE for
all users without getting ugly and actually modifying roles.

"role_has_cap" seems to be the filter to do this, but I can't seem to get my
function that's been added to that hook to fire.

Any insight?

-- 
Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/


More information about the wp-hackers mailing list