Merge pull request #24157 from woocommerce/fix/shorter-wccom-url-params

shorten in-app-purchase url param keys
This commit is contained in:
Gerhard Potgieter 2019-07-16 08:49:15 +02:00 committed by GitHub
commit fb0eb7e092
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -487,9 +487,9 @@ class WC_Admin_Addons {
// so WCCOM "back" link returns user to where they were.
$back_admin_path = add_query_arg( array() );
return array(
'in-app-purchase-site' => site_url(),
'in-app-purchase-back' => esc_url( $back_admin_path ),
'in-app-purchase-woo-version' => WC_VERSION,
'wccom-site' => site_url(),
'wccom-back' => esc_url( $back_admin_path ),
'wccom-woo-version' => WC_VERSION,
);
}