Require wc-admin-functions into products tracking class (#39030)

* Require wc-admin-functions into products tracking class

* Add changelog

* Revert old change back
This commit is contained in:
louwie17 2023-06-29 17:00:04 -03:00 committed by GitHub
parent 1aab0eccab
commit 690bd7da2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: fix
Add missing require for a wc-admin helper function.

View File

@ -10,6 +10,8 @@ use Automattic\WooCommerce\Internal\Admin\WCAdminAssets;
defined( 'ABSPATH' ) || exit; defined( 'ABSPATH' ) || exit;
require_once WC_ABSPATH . 'includes/admin/wc-admin-functions.php';
/** /**
* This class adds actions to track usage of WooCommerce Products. * This class adds actions to track usage of WooCommerce Products.
*/ */