Merged in release/release-1.09 (pull request #10)
Release/release 1.09 * Install missing plugins * rs set to 1 * rebase pantheon for aws * rebase pantheon for aws * prod config change * prod config change * fix campaing issue * revert Approved-by: Jay Sharma
This commit is contained in:
committed by
Jay Sharma
parent
779393381f
commit
22f10a9edd
@@ -44,7 +44,7 @@ class OnboardingSync {
|
||||
}
|
||||
|
||||
/**
|
||||
* Send profile data to Woo.com.
|
||||
* Send profile data to WooCommerce.com.
|
||||
*/
|
||||
private function send_profile_data() {
|
||||
if ( 'yes' !== get_option( 'woocommerce_allow_tracking', 'no' ) ) {
|
||||
@@ -142,7 +142,7 @@ class OnboardingSync {
|
||||
! $task_list ||
|
||||
$task_list->is_hidden() ||
|
||||
! isset( $_SERVER['HTTP_REFERER'] ) ||
|
||||
0 !== strpos( $_SERVER['HTTP_REFERER'], 'https://woo.com/checkout?utm_medium=product' ) // phpcs:ignore sanitization ok.
|
||||
0 !== strpos( $_SERVER['HTTP_REFERER'], 'https://woocommerce.com/checkout?utm_medium=product' ) // phpcs:ignore sanitization ok.
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -69,9 +69,9 @@ class OnboardingThemes {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sort themes returned from Woo.com
|
||||
* Sort themes returned from WooCommerce.com
|
||||
*
|
||||
* @param array $themes Array of themes from Woo.com.
|
||||
* @param array $themes Array of themes from WooCommerce.com.
|
||||
* @return array
|
||||
*/
|
||||
public static function sort_woocommerce_themes( $themes ) {
|
||||
|
||||
Reference in New Issue
Block a user