Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ComponentLogServer): check if WP_ENV is defined
Make sure we have WP_ENV (#247)
- Loading branch information
04299f9
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.
Since yesterday WordPress 5.5 is out and they released a new function [wp_get_environment_type()] and global system variable "WP_ENVIRONMENT_TYPE " – build into the core (https://developer.wordpress.org/reference/functions/wp_get_environment_type/).
I think this function should be implemented here and globally in flynt - insofar as environment variables are used elsewhere.
@steffenbew and @domtra: What do you think about the about?
04299f9
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.
@Pixelsaft Please open an Issue!
04299f9
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.
see #298