Merged in feature/117-dev-dev01 (pull request #8)
auto-patch 117-dev-dev01-2023-12-15T16_09_06 * auto-patch 117-dev-dev01-2023-12-15T16_09_06
This commit is contained in:
@@ -350,7 +350,7 @@ class WC_Admin_Setup_Wizard {
|
||||
<?php do_action( 'admin_head' ); ?>
|
||||
</head>
|
||||
<body class="wc-setup wp-core-ui <?php echo esc_attr( 'wc-setup-step__' . $this->step ); ?> <?php echo esc_attr( $wp_version_class ); ?>">
|
||||
<h1 class="wc-logo"><a href="https://woocommerce.com/"><img src="<?php echo esc_url( WC()->plugin_url() ); ?>/assets/images/woocommerce_logo.png" alt="<?php esc_attr_e( 'WooCommerce', 'woocommerce' ); ?>" /></a></h1>
|
||||
<h1 class="wc-logo"><a href="https://woo.com/"><img src="<?php echo esc_url( WC()->plugin_url() ); ?>/assets/images/woocommerce_logo.png" alt="<?php esc_attr_e( 'WooCommerce', 'woocommerce' ); ?>" /></a></h1>
|
||||
<?php
|
||||
}
|
||||
|
||||
@@ -443,7 +443,7 @@ class WC_Admin_Setup_Wizard {
|
||||
?>
|
||||
<div class="wc-setup-step__new_onboarding-wrapper">
|
||||
<p class="wc-setup-step__new_onboarding-welcome"><?php esc_html_e( 'Welcome to', 'woocommerce' ); ?></p>
|
||||
<h1 class="wc-logo"><a href="https://woocommerce.com/"><img src="<?php echo esc_url( WC()->plugin_url() ); ?>/assets/images/woocommerce_logo.png" alt="<?php esc_attr_e( 'WooCommerce', 'woocommerce' ); ?>" /></a></h1>
|
||||
<h1 class="wc-logo"><a href="https://woo.com/"><img src="<?php echo esc_url( WC()->plugin_url() ); ?>/assets/images/woocommerce_logo.png" alt="<?php esc_attr_e( 'WooCommerce', 'woocommerce' ); ?>" /></a></h1>
|
||||
<p><?php esc_html_e( 'Get your store up and running more quickly with our new and improved setup experience', 'woocommerce' ); ?></p>
|
||||
|
||||
<form method="post" class="activate-new-onboarding">
|
||||
@@ -630,7 +630,7 @@ class WC_Admin_Setup_Wizard {
|
||||
),
|
||||
)
|
||||
),
|
||||
'https://woocommerce.com/usage-tracking/'
|
||||
'https://woo.com/usage-tracking/'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
@@ -1114,7 +1114,7 @@ class WC_Admin_Setup_Wizard {
|
||||
)
|
||||
),
|
||||
esc_attr__( 'A live rate is the exact cost to ship an order, quoted directly from the shipping carrier.', 'woocommerce' ),
|
||||
'https://woocommerce.com/product-category/woocommerce-extensions/shipping-methods/shipping-carriers/'
|
||||
'https://woo.com/product-category/woocommerce-extensions/shipping-methods/shipping-carriers/'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
@@ -1377,27 +1377,27 @@ class WC_Admin_Setup_Wizard {
|
||||
$stripe_description = '<p>' . sprintf(
|
||||
/* translators: %s: URL */
|
||||
__( 'Accept debit and credit cards in 135+ currencies, methods such as Alipay, and one-touch checkout with Apple Pay. <a href="%s" target="_blank">Learn more</a>.', 'woocommerce' ),
|
||||
'https://woocommerce.com/products/stripe/'
|
||||
'https://woo.com/products/stripe/'
|
||||
) . '</p>';
|
||||
$paypal_checkout_description = '<p>' . sprintf(
|
||||
/* translators: %s: URL */
|
||||
__( 'Safe and secure payments using credit cards or your customer\'s PayPal account. <a href="%s" target="_blank">Learn more</a>.', 'woocommerce' ),
|
||||
'https://woocommerce.com/products/woocommerce-gateway-paypal-checkout/'
|
||||
'https://woo.com/products/woocommerce-gateway-paypal-checkout/'
|
||||
) . '</p>';
|
||||
$klarna_checkout_description = '<p>' . sprintf(
|
||||
/* translators: %s: URL */
|
||||
__( 'Full checkout experience with pay now, pay later and slice it. No credit card numbers, no passwords, no worries. <a href="%s" target="_blank">Learn more about Klarna</a>.', 'woocommerce' ),
|
||||
'https://woocommerce.com/products/klarna-checkout/'
|
||||
'https://woo.com/products/klarna-checkout/'
|
||||
) . '</p>';
|
||||
$klarna_payments_description = '<p>' . sprintf(
|
||||
/* translators: %s: URL */
|
||||
__( 'Choose the payment that you want, pay now, pay later or slice it. No credit card numbers, no passwords, no worries. <a href="%s" target="_blank">Learn more about Klarna</a>.', 'woocommerce' ),
|
||||
'https://woocommerce.com/products/klarna-payments/ '
|
||||
'https://woo.com/products/klarna-payments/ '
|
||||
) . '</p>';
|
||||
$square_description = '<p>' . sprintf(
|
||||
/* translators: %s: URL */
|
||||
__( 'Securely accept credit and debit cards with one low rate, no surprise fees (custom rates available). Sell online and in store and track sales and inventory in one place. <a href="%s" target="_blank">Learn more about Square</a>.', 'woocommerce' ),
|
||||
'https://woocommerce.com/products/square/'
|
||||
'https://woo.com/products/square/'
|
||||
) . '</p>';
|
||||
|
||||
return array(
|
||||
@@ -1890,9 +1890,13 @@ class WC_Admin_Setup_Wizard {
|
||||
$this->display_recommended_item( array(
|
||||
'type' => 'storefront_theme',
|
||||
'title' => __( 'Storefront Theme', 'woocommerce' ),
|
||||
'description' => sprintf( __(
|
||||
'Design your store with deep WooCommerce integration. If toggled on, we’ll install <a href="https://woocommerce.com/storefront/" target="_blank" rel="noopener noreferrer">Storefront</a>, and your current theme <em>%s</em> will be deactivated.', 'woocommerce' ),
|
||||
$theme_name
|
||||
'description' => sprintf(
|
||||
/* translators: %s: theme name. */
|
||||
__(
|
||||
'Design your store with deep WooCommerce integration. If toggled on, we’ll install <a href="https://woo.com/storefront/" target="_blank" rel="noopener noreferrer">Storefront</a>, and your current theme <em>%s</em> will be deactivated.',
|
||||
'woocommerce'
|
||||
),
|
||||
$theme_name
|
||||
),
|
||||
'img_url' => WC()->plugin_url() . '/assets/images/obw-storefront-icon.svg',
|
||||
'img_alt' => __( 'Storefront icon', 'woocommerce' ),
|
||||
@@ -2216,11 +2220,11 @@ class WC_Admin_Setup_Wizard {
|
||||
// We've made it! Don't prompt the user to run the wizard again.
|
||||
WC_Admin_Notices::remove_notice( 'install', true );
|
||||
|
||||
$user_email = $this->get_current_user_email();
|
||||
$docs_url = 'https://docs.woocommerce.com/documentation/plugins/woocommerce/getting-started/?utm_source=setupwizard&utm_medium=product&utm_content=docs&utm_campaign=woocommerceplugin';
|
||||
$help_text = sprintf(
|
||||
$user_email = $this->get_current_user_email();
|
||||
$docs_url = 'https://woo.com/documentation/plugins/woocommerce/getting-started/?utm_source=setupwizard&utm_medium=product&utm_content=docs&utm_campaign=woocommerceplugin';
|
||||
$help_text = sprintf(
|
||||
/* translators: %1$s: link to docs */
|
||||
__( 'Visit WooCommerce.com to learn more about <a href="%1$s" target="_blank">getting started</a>.', 'woocommerce' ),
|
||||
__( 'Visit Woo.com to learn more about <a href="%1$s" target="_blank">getting started</a>.', 'woocommerce' ),
|
||||
$docs_url
|
||||
);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user