[wp-hackers] After adding custom role, admin panel becomes inaccessible
hempsworth at gmail.com
Tue Jun 29 21:49:38 UTC 2010
Would I need to place that hard-coded definition in wp-config or could I
have it in my plugin file?
Perhaps hard code it at init?
-- Alex (Hempsworth)
On Tue, Jun 29, 2010 at 10:47 PM, Andrew Nacin <wp at andrewnacin.com> wrote:
> That said, there is a $wp_user_roles global that can be used to hard-code
> roles and capabilities in wp-config (and the DB would be passed). I know
> example this is what wp.com uses, so you should probably be aware of that
More information about the wp-hackers