From c93b16bd0517f27826130e1ed0033a5f3cef828b Mon Sep 17 00:00:00 2001 From: Job Date: Tue, 19 Apr 2016 11:32:45 +0200 Subject: [PATCH] Updated campaign tags * Source: setupwizard, helptab, addons, notice (took the terms already used in WC core and deleted all dashes) * Medium: product * Content: videos, docs, storefront, themecompatibility, wcthemes, wcextensions, about, newsletter, tickets, apidocs (+ different content for every reference in addons tab) * Campaign: woocommerceplugin --- includes/admin/class-wc-admin-addons.php | 6 +++--- includes/admin/class-wc-admin-help.php | 16 ++++++++-------- includes/admin/class-wc-admin-setup-wizard.php | 6 +++--- .../admin/views/html-notice-theme-support.php | 4 ++-- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/includes/admin/class-wc-admin-addons.php b/includes/admin/class-wc-admin-addons.php index 0921f501444..858ba17448d 100644 --- a/includes/admin/class-wc-admin-addons.php +++ b/includes/admin/class-wc-admin-addons.php @@ -116,9 +116,9 @@ class WC_Admin_Addons { } $url = add_query_arg( array( - 'utm_source' => 'product', - 'utm_medium' => 'upsell', - 'utm_campaign' => 'wcaddons', + 'utm_source' => 'addons', + 'utm_medium' => 'product', + 'utm_campaign' => 'woocommerceplugin', 'utm_content' => $utm_content, ), $url ); diff --git a/includes/admin/class-wc-admin-help.php b/includes/admin/class-wc-admin-help.php index b4c5febfeeb..5f8745e48e2 100644 --- a/includes/admin/class-wc-admin-help.php +++ b/includes/admin/class-wc-admin-help.php @@ -155,7 +155,7 @@ class WC_Admin_Help { 'id' => 'woocommerce_101_tab', 'title' => __( 'WooCommerce 101', 'woocommerce' ), 'content' => - '

' . __( 'WooCommerce 101', 'woocommerce' ) . ' – ' . esc_html( $video_map[ $video_key ]['title'] ) . '

' . + '

' . __( 'WooCommerce 101', 'woocommerce' ) . ' – ' . esc_html( $video_map[ $video_key ]['title'] ) . '

' . '' ) ); } @@ -166,7 +166,7 @@ class WC_Admin_Help { 'content' => '

' . __( 'Documentation', 'woocommerce' ) . '

' . '

' . __( 'Should you need help understanding, using, or extending WooCommerce, please read our documentation. You will find all kinds of resources including snippets, tutorials and much more.' , 'woocommerce' ) . '

' . - '

' . __( 'WooCommerce Documentation', 'woocommerce' ) . ' ' . __( 'Developer API Docs', 'woocommerce' ) . '

' + '

' . __( 'WooCommerce Documentation', 'woocommerce' ) . ' ' . __( 'Developer API Docs', 'woocommerce' ) . '

' ) ); @@ -175,9 +175,9 @@ class WC_Admin_Help { 'title' => __( 'Support', 'woocommerce' ), 'content' => '

' . __( 'Support', 'woocommerce' ) . '

' . - '

' . sprintf( __( 'After %sreading the documentation%s, for further assistance you can use the %scommunity forums%s on WordPress.org to talk with other users. If however you are a WooThemes customer, or need help with premium add-ons sold by WooThemes, please %suse our helpdesk%s.', 'woocommerce' ), '', '', '', '', '', '' ) . '

' . + '

' . sprintf( __( 'After %sreading the documentation%s, for further assistance you can use the %scommunity forums%s on WordPress.org to talk with other users. If however you are a WooThemes customer, or need help with premium add-ons sold by WooThemes, please %suse our helpdesk%s.', 'woocommerce' ), '', '', '', '', '', '' ) . '

' . '

' . __( 'Before asking for help we recommend checking the system status page to identify any problems with your configuration.', 'woocommerce' ) . '

' . - '

' . __( 'System Status', 'woocommerce' ) . ' ' . __( 'WordPress.org Forums', 'woocommerce' ) . ' ' . __( 'WooThemes Customer Support', 'woocommerce' ) . '

' + '

' . __( 'System Status', 'woocommerce' ) . ' ' . __( 'WordPress.org Forums', 'woocommerce' ) . ' ' . __( 'WooThemes Customer Support', 'woocommerce' ) . '

' ) ); $screen->add_help_tab( array( @@ -186,7 +186,7 @@ class WC_Admin_Help { 'content' => '

' . __( 'Education', 'woocommerce' ) . '

' . '

' . __( 'If you would like to learn about using WooCommerce from an expert, consider following a WooCommerce course ran by one of our educational partners.', 'woocommerce' ) . '

' . - '

' . __( 'View Education Partners', 'woocommerce' ) . '

' + '

' . __( 'View Education Partners', 'woocommerce' ) . '

' ) ); $screen->add_help_tab( array( @@ -211,11 +211,11 @@ class WC_Admin_Help { $screen->set_help_sidebar( '

' . __( 'For more information:', 'woocommerce' ) . '

' . - '

' . __( 'About WooCommerce', 'woocommerce' ) . '

' . + '

' . __( 'About WooCommerce', 'woocommerce' ) . '

' . '

' . __( 'WordPress.org Project', 'woocommerce' ) . '

' . '

' . __( 'Github Project', 'woocommerce' ) . '

' . - '

' . __( 'Official Themes', 'woocommerce' ) . '

' . - '

' . __( 'Official Extensions', 'woocommerce' ) . '

' + '

' . __( 'Official Themes', 'woocommerce' ) . '

' . + '

' . __( 'Official Extensions', 'woocommerce' ) . '

' ); } diff --git a/includes/admin/class-wc-admin-setup-wizard.php b/includes/admin/class-wc-admin-setup-wizard.php index 5f6b9e075e0..10f813de61a 100644 --- a/includes/admin/class-wc-admin-setup-wizard.php +++ b/includes/admin/class-wc-admin-setup-wizard.php @@ -692,10 +692,10 @@ class WC_Admin_Setup_Wizard {

diff --git a/includes/admin/views/html-notice-theme-support.php b/includes/admin/views/html-notice-theme-support.php index 3d97167fa76..f17884b3263 100644 --- a/includes/admin/views/html-notice-theme-support.php +++ b/includes/admin/views/html-notice-theme-support.php @@ -11,8 +11,8 @@ if ( ! defined( 'ABSPATH' ) ) {

Your theme does not declare WooCommerce support – Please read our %sintegration%s guide or check out our %sStorefront%s theme which is totally free to download and designed specifically for use with WooCommerce.', 'woocommerce' ), '', '', '', '' ); ?>

- - + +