Changes between Initial Version and Version 1 of Ticket #47058, comment 15
- Timestamp:
- 09/11/2020 12:09:38 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #47058, comment 15
initial v1 1 1 Looking at [attachment:"47058.diff"], I'm not sure we should check for the `localhost` URL specifically, as a local test site can have pretty much any URL, e.g. `http://develop.wordpress.test/`. 2 2 3 Just checking for `in_array( wp_ environment_type(), array( 'development', 'local' ), true )` seems enough.3 Just checking for `in_array( wp_get_environment_type(), array( 'development', 'local' ), true )` seems enough.