You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
s2Member Pro upgrade dialog visible to non-admins #697
(s2Member Pro) Bug Fix: This release corrects a security issue related to the Pro Upgrade Wizard for s2Member Pro being displayed without checking current_user_can('update_plugins'). Resolved. Props @raamdev for identifying this and working to implement the fix. See this GitHub issue if you'd like additional details.
Activity
jaswrks commentedon Sep 22, 2015
Next Actions
Before this line of code add the following.
The same before this line of code, except
return;instead ofreturn '';.Submit PR.
Hide Pro Upgrader dialog from non-admins on WP Dashboard
jaswrks commentedon Sep 23, 2015
Next Release Changelog:
current_user_can('update_plugins'). Resolved. Props @raamdev for identifying this and working to implement the fix. See this GitHub issue if you'd like additional details.