Skip to content
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

Display warning about using the plugin on non live sites #9

Open
polevaultweb opened this issue May 29, 2018 · 4 comments
Open

Display warning about using the plugin on non live sites #9

polevaultweb opened this issue May 29, 2018 · 4 comments

Comments

@polevaultweb
Copy link
Member

The plugin should be only installed on a live site. Show a warning if installed on a local/test/staging/dev site.

@ibes
Copy link

ibes commented Jun 2, 2018

What is the problem if installed on non live sites?!

@polevaultweb
Copy link
Member Author

@ibes if it's installed on a dev site and then you push to a live site, it will push anonymized data. The idea is it is installed on live to protect the 'export' of live data.

@jongc
Copy link

jongc commented Jul 3, 2018

@polevaultweb How do you plan to implement this change? Asking so I can do some tests in preparation for this change. We keep important plugins in mu-plugins so I was thinking to check the site address (or something similar) before including the plugin on production sites.

@polevaultweb
Copy link
Member Author

@jongc I'm not too sure of the best approach at the moment, but your implementation sounds great for you situation to protect against it being loaded on non-prod sites 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants