[wp-hackers] After adding custom role, admin panel becomes inaccessible
wphackers at jakemgold.myfastmail.com
Tue Jun 29 13:58:09 UTC 2010
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) );
On 6/29/2010 2:44 AM, Alex Hempton-Smith wrote:
> Just tried your suggestion, and no luck unfortunately...
> -- Alex (Hempsworth)
> On Tue, Jun 29, 2010 at 3:01 AM, Jake Goldman<
> wphackers at jakemgold.myfastmail.com> wrote:
>> Your capabilities array is set up wrong.
>> add_role( 'treasurer', 'Treasurer', array('read' => true,
>> 'manage_finances' => true) );
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers