From 85440b5927ae62683d31819aba8658c0b7b0c358 Mon Sep 17 00:00:00 2001 From: shivapoudel Date: Mon, 17 Nov 2014 22:03:15 +0545 Subject: [PATCH] use of final class helper function --- includes/admin/class-wc-admin-welcome.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/class-wc-admin-welcome.php b/includes/admin/class-wc-admin-welcome.php index afa0fe1af12..470bef49679 100644 --- a/includes/admin/class-wc-admin-welcome.php +++ b/includes/admin/class-wc-admin-welcome.php @@ -61,7 +61,7 @@ class WC_Admin_Welcome { * admin_css function. */ public function admin_css() { - wp_enqueue_style( 'woocommerce-activation', plugins_url( '/assets/css/activation.css', WC_PLUGIN_FILE ), array(), WC_VERSION ); + wp_enqueue_style( 'woocommerce-activation', WC()->plugin_url() . '/assets/css/activation.css', array(), WC_VERSION ); } /**