Skip to content

Commit e02a0bd

Browse files
authored
Merge branch 'master' into fix/update-readme-file
2 parents d8f9b62 + 0c02851 commit e02a0bd

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

README.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tags: paywall, monetization, donation, crypto, ecash
55
Requires at least: 5.0
66
Tested up to: 6.7
77
Requires PHP: 7.0
8-
Stable tag: 2.1.0
8+
Stable tag: 2.2.0
99
License: MIT
1010
License URI: https://github.com/PayButton/wordpress-plugin/blob/master/LICENSE
1111

@@ -82,4 +82,5 @@ Absolutely, the admin dashboard allows you to modify button texts, pricing, colo
8282
== Upgrade Notice ==
8383

8484
= 2.2.0 =
85-
Upgrade to version 2.2.0 for improved compatibility and reliability.
85+
Upgrade to version 2.2.0 for improved compatibility and reliability.
86+
=======

paybutton.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: PayButton
44
* Description: Monetize your content with configurable no-signup paywalls.
5-
* Version: 2.1.0
5+
* Version: 2.2.0
66
* Author: PayButton
77
* Author URI: https://github.com/PayButton/wordpress-plugin
88
* License: MIT

templates/admin/paywall-settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
<p>
159159
4. In the <em>URL</em> field, paste the following:
160160
</p>
161-
<pre style="background: #eaeaea; padding: 10px; border: 1px solid #ddd;"><?php echo esc_url( home_url( '/wp-admin/admin-ajax.php?action=payment_trigger' ) ); ?></pre>
161+
<pre style="background: #eaeaea; padding: 10px; border: 1px solid #ddd;"><?php echo esc_url( admin_url( 'admin-ajax.php?action=payment_trigger' ) ); ?></pre>
162162
<p>
163163
5. In the <em>Post Data</em> field, paste the following code as is:
164164
</p>

0 commit comments

Comments
 (0)