Kirk Steffensen wrote:
Sorry.  False alarm.  I was getting a "Call to a non-member function error"
on a call to $wp_roles->add_cap().  After deactivating the plugin, clearing
the plugin options, and reactivating it, WPG2 works.

I didn't get a Database update message when I installed 2.0.2.  I assume the
DB didn't need updated and this is normal.  That being the case, it's
curious that WPG2 didn't come up right the first time.  Can't recreate it,
because it's up and running now.

The database hasn't changed so there is no need to run the upgrade.

The only place we call $wp_roles->add_cap() is in WP_Role:add_cap() and that function global $wp_roles properly. Plugins shouldn't be calling $wp_roles->add_cap(). They shouldn't really be using $wp_roles directly at all.

Ryan
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to