Fix reference to `WC_Site_Tracking`.
This commit is contained in:
parent
8cdefdcd01
commit
90a4fb5e6a
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Prevent fatals resulting from incorrect reference to `WC_Site_Tracking` during admin notes API requests.
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
namespace Automattic\WooCommerce\Admin\Notes;
|
||||
|
||||
use WC_Site_Tracking;
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue