-
Notifications
You must be signed in to change notification settings - Fork 69
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
Warn admin users if HTTPS is not required for checkout #1231
Conversation
New notification class to notify customers that they might want to enforce SSL on their WooCommerce store if HTTPS is not enabled globally yet. Addresses issue #824
Enable notification during plugin activation and introduce test suite.
We need to add a new changelog entry in changelog.txt and readme.txt. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks great, left a couple of comments we need to address before merging.
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pre approving, the guard condition changes is the last thing to address.
`can_be_added` is supposed to be an override, but traits do not allow it to be that simple. Thus it is imported from `NoteTraits` as a protected method with a different name to be called from our `can_be_added` when needed.
Fixes #824
Changes proposed in this Pull Request
Testing instructions