Skip to content

Commit 46b35aa

Browse files
author
xecdev
committed
Revert changes
1 parent 43638bb commit 46b35aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

includes/class-paybutton-public.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function enqueue_public_assets() {
126126
'userAddress' => sanitize_text_field( PayButton_State::get_address() ),
127127
'defaultAddress' => get_option( 'paybutton_admin_wallet_address', '' ),
128128
'scrollToUnlocked' => get_option( 'paybutton_scroll_to_unlocked', '1' ),
129-
'apiBaseUrl' => esc_url( get_option( 'paybutton_api_base_url', 'https://paybutton.org' ) ),
129+
'apiBaseUrl' => get_option( 'paybutton_api_base_url', 'https://paybutton.org' ),
130130
) );
131131
}
132132

@@ -239,7 +239,7 @@ public function paybutton_paywall_shortcode( $atts, $content = null ) {
239239
),
240240
'opReturn' => (string) $post_id, //This is a hack to give the PB server the post ID to send it back to WP's DB
241241
'autoClose' => true,
242-
'apiBaseUrl' => esc_url( get_option( 'paybutton_api_base_url', 'https://paybutton.org' ) )
242+
'apiBaseUrl' => get_option( 'paybutton_api_base_url', 'https://paybutton.org' )
243243
);
244244

245245
//NEW: If the admin enabled “Show Unlock Count on Front‐end,” and this post is NOT yet unlocked then display unlock count on the front end.

0 commit comments

Comments
 (0)