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

WP_ENV #4

Closed
k1sul1 opened this issue Aug 17, 2016 · 2 comments
Closed

WP_ENV #4

k1sul1 opened this issue Aug 17, 2016 · 2 comments

Comments

@k1sul1
Copy link
Owner

k1sul1 commented Aug 17, 2016

Todo: Make it possible to show notices only on certain environments. I'm using bedrock so I've WP_ENV defined, but not everyone has. Maybe allow using a certain url to determine if notice should be visible or not?

I think these can bring unnecessary bloat to the interface, so they should be "hidden" behind a checkbox to enable.

@k1sul1
Copy link
Owner Author

k1sul1 commented Aug 23, 2016

Work in progress under feature branch.

WP_ENV checking is working at least in theory, but hasn't been tested. Match-by-url seems to be working properly.

As a sidenote, the plugin is now on a proper plugin base, and these new features are enabled from their own settings page.

@k1sul1
Copy link
Owner Author

k1sul1 commented Oct 4, 2016

Implemented in 0.4.

@k1sul1 k1sul1 closed this as completed Oct 4, 2016
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

1 participant