Skip to content

Commit 105220e

Browse files
committed
Remove testing if statement
1 parent 02ac51a commit 105220e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/internal/services/class-sensei-pro-upsell.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public static function get_base_url(): string {
4343
* @return string The checkout URL.
4444
*/
4545
public static function get_checkout_url(): string {
46-
if ( ! get_option( 'wpcom_active_subscriptions' ) ) {
46+
if ( get_option( 'wpcom_active_subscriptions' ) ) {
4747
$site_slug = wp_parse_url( get_site_url(), PHP_URL_HOST );
4848
return "https://wordpress.com/checkout/{$site_slug}/sensei_pro_monthly";
4949
}

0 commit comments

Comments
 (0)