[wp-hackers] confused about add_role

Chris Williams chris at clwill.com
Sat Mar 5 04:14:12 UTC 2011


I added some roles, and then disabled my plugins to discover the roles
remain. The question is, are they meant to be persistent, or is it a
sign of something wrong?

> Yes, no.

If they are meant to be persistent, should I be adding these on plugin
activation, and handing the removal in an uninstall procedure?

> Yes.



More information about the wp-hackers mailing list