Update includes/class-wc-tracker.php

Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
This commit is contained in:
Peter Fabian 2020-09-18 14:30:39 +02:00 committed by GitHub
parent b8670162a7
commit ed9c1e2f93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ class WC_Tracker {
// WordPress 5.5+ environment type specification.
// 'production' is the default in WP, thus using it as a default here, too.
$environment_type = 'production';
$environment_type = 'production';
if ( function_exists( 'wp_get_environment_type' ) ) {
$environment_type = wp_get_environment_type();
}