-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revamp Pro Upgrader #668
Comments
Referencing #746 where a current issue was discussed with regards to Pro-Forms on a live site showing up as plain-text when the Framework is inadvertantly updated without the Pro module also being updated. If we can figure out a way to solve that problem as part of this Pro Upgrader revamp, that would be great. |
…to s2member.com locations. See: wpsharks/s2member#1027 and wpsharks/s2member#668
…to s2member.com locations. See: wpsharks/s2member#1027 and wpsharks/s2member#668
Hmm. I'm not sure why, but that's not the newly updated upgrade panel that I'm seeing in your screenshot. See these lines in the dev branch that were updated recently. It should ask for a license key now, not a password. |
DOh... if we're seeing an upgrade notice, that means that an older version of the s2Member Pro module is currently installed (with a newer version of s2Member Framework, hence the upgrade message). The older s2Member Pro module will not have the newer upgrade dialog, so what we're seeing above should be expected! The only way to test the newer upgrade dialog would be to install the s2Member Pro v170126-RC module, and then install an s2Member Framework that is newer than v170126-RC (which doesn't exist yet). So, the best way to test this would be to temporarily generate a newer version of the s2Member Framework (e.g., v170131-RC) and then install that with the s2Member Pro v170126-RC module in |
@renzms here's a version of s2Member Framework that is newer than the RC that you can use to test the Pro Add-On upgrade dialog: s2member-framework-2017-01-31.zip I confirmed the new dialog showed up as expected and confirmed that the upgrade process was still working: |
@jaswsinc I see this item on your checklist at the top still remains:
I assume the intention is to push that work to a future release, correct? |
Thanks! Yes that makes more sense as to why the old version was showing up. Confirmed Working! |
@raamdev writes...
Yes. Mostly because the pro version is still not an official WP plugin that can be updated in the same way that our others can. The remaining work here is blocked by that larger problem. So for now, I just rewrote the upgrader using the same underlying concepts that it operated on previously. |
@jaswsinc writes...
Hmm, it was my understanding that the last todo item up there was about doing away with the built-in Pro updater in s2Member and integrating with the native WordPress plugin updater, the way we do now in Comet Cache Pro (which is not an "official WP plugin" either...). Am I missing something? |
The pro add-on in s2Member is not an installable plugin. That's the difference. So it can't be treated like an installable plugin in the updater either; i.e., if we tried to do with s2Member what we have done with Comet Cache it won't work yet. |
Ah, got it. Thank you. |
s2Member v170221 has been released and includes changes from this GitHub Issue. See the v170221 announcement for further details. This issue will now be locked to further updates. If you have something to add related to this GitHub Issue, please open a new GitHub Issue and reference this one (#668). |
The text was updated successfully, but these errors were encountered: