Just for clarification purposes, I had noticed in the wp-testers list that the database hasn’t changed correct? And there is no need to run the upgrade.php correct? Here below is the email I’m referring to..
——————————————–
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
———————————————–
Or is it ok to run the upgrade.php file anyways like normal while upgrading, and not have to worry about getting errors? Thanks in advanced.. =)
spencerp
I could have just done an upgrade on a Test Blog and found out myself..but just wanted to bring this question out to the “public”.. =/
Because if you “technically” don’t need to run the upgrade.php file, it might help other(s) by getting this pointed out to them..or whatever maybe..I dunno. =/