[wp-hackers] How do I reset all roles and capabilities?
designdroide at gmail.com
Sun Nov 11 06:40:42 GMT 2007
Perhaps Re Setting Your Pass. Or Try Removing The PlugIn From Its
Directory. He All Else Fails Get The Tables From Your Database That
Involve Post And What Not. Then Start A New WordPress And Load Those
Tables To Your New Database. That Should Do It.
On 11/10/07, Viper007Bond <wplists at viper007bond.com> wrote:
> By stupidly screwing around with the Role Manager plugins over the years
> (renaming roles, creating custom roles for others, etc.), I've slowly broken
> one of my sites and finally sealed the deal a few minutes ago by completely
> locking myself out of my blog when I tried to rename my current role.
> Is there any way (or plugin) to reset all roles and capabilities to as if I
> had just installed WordPress? I can deal with everyone getting the
> Administrator role or whatever as I can move them back to editors.
> I'm thinking I do a fresh install of WordPress can copy over the row in the
> options table that lists the roles and then copying over the usermeta row
> for capabilities, but I'm a bit of a noob when it comes to roles and caps,
> so suggestions welcome.
> Viper007Bond | http://www.viper007bond.com/
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers