[wp-testers] Login problem - revision 2714

Ryan Boren ryan at boren.nu
Sun Jul 17 20:00:14 GMT 2005


On Fri, 2005-07-15 at 12:54 -0500, Ryan Boren wrote:
> I might add some temporary code that will reconstruct each user's caps
> and roles.  Defining "RESET_CAPS" or something of the sort in
> wp-config.php will tell upgrade.php to redo all user caps.  This will
> help us reset caps and roles to a sane state after these little upgrade
> breaks and changes to the default roles.  I'll try to add something this
> evening.

Add this to wp-config.php to enable the cap/role resetter.  With this
enabled, updates to the roles will be blown into your DB.

define('RESET_CAPS', true);

http://trac.wordpress.org/changeset/2722

Ryan



More information about the wp-testers mailing list