[wp-hackers] After adding custom role, admin panel becomes inaccessible
wphackers at jakemgold.myfastmail.com
Tue Jun 29 14:53:39 UTC 2010
Yes, they are stored.
And you're welcome. :-)
C. Murray Consulting | @jakemgold
On 6/29/2010 10:10 AM, Alex Hempton-Smith wrote:
> Brilliant! Thanks Jake, that's fixed it.
> So roles/caps are stored in the database? I thought they were just ran
> dynamically; thus didn't think I needed to remove any previously added ones.
> Cheers again,
> -- Alex (Hempsworth)
> On Tue, Jun 29, 2010 at 2:58 PM, Jake Goldman<
> wphackers at jakemgold.myfastmail.com> wrote:
>> Betting you didn't remove the role first. The add_role will fail if the
>> role already exists.
>> add_role( 'treasurer', 'Treasurer', array('read' => true,
>> 'manage_finances' => true) );
More information about the wp-hackers