Skip to content

Commit

Permalink
fix: use setting to enable signup form
Browse files Browse the repository at this point in the history
  • Loading branch information
chickenn00dle committed May 22, 2024
1 parent 7430740 commit 29ce0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/reader-activation/class-reader-activation.php
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,7 @@ public static function newsletters_signup() {
* Should post-checkout newsletter signup be available?
*/
private static function is_newsletters_signup_available() {
return defined( 'NEWSPACK_ENABLE_POST_CHECKOUT_NEWSLETTER_SIGNUP' ) && NEWSPACK_ENABLE_POST_CHECKOUT_NEWSLETTER_SIGNUP;
return (bool) self::get_setting( 'use_custom_lists' );
}

/**
Expand Down

0 comments on commit 29ce0f2

Please sign in to comment.