Skip to content

Commit

Permalink
Tweaked readme. BUG/ENHANCEMENT: Changed the pmpro_button shortcode t…
Browse files Browse the repository at this point in the history
…o pmpro_checkout_button. (The old pmpro_button will also still work. checkout_button works if you have Register Helper installed.)
  • Loading branch information
ideadude committed Jan 28, 2017
1 parent ee96cf4 commit f5fe5ce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion paid-memberships-pro.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

require_once(PMPRO_DIR . "/includes/xmlrpc.php"); //xmlrpc methods

require_once(PMPRO_DIR . "/shortcodes/checkout_button.php"); //[checkout_button] shortcode to show link to checkout for a level
require_once(PMPRO_DIR . "/shortcodes/checkout_button.php"); //[pmpro_checkout_button] shortcode to show link to checkout for a level
require_once(PMPRO_DIR . "/shortcodes/membership.php"); //[membership] shortcode to hide/show member content
require_once(PMPRO_DIR . "/shortcodes/pmpro_account.php"); //[pmpro_account] shortcode to show account information

Expand Down
10 changes: 6 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== Paid Memberships Pro ===
Contributors: strangerstudios
Tags: memberships, membership, authorize.net, ecommerce, paypal, stripe, braintree, restrict access, restrict content, directory site, payflow
Requires at least: 3.5
Tested up to: 4.7.1
Stable tag: 1.8.13.3
Requires at least: 4
Tested up to: 4.7.2
Stable tag: 1.8.13.4

A revenue-generating machine for membership sites. Unlimited levels with recurring payment, protected content and member management.

Expand Down Expand Up @@ -115,8 +115,10 @@ Not sure? You can find out by doing a bit a research.
[View All Screenshots](http://www.paidmembershipspro.com/features/screenshots/)

== Changelog ==
= 1.8.13.4 =
* BUG/ENHANCEMENT: Changed the pmpro_button shortcode to pmpro_checkout_button. (The old pmpro_button will also still work. checkout_button works if you have Register Helper installed.)

= 1.8.13.2 =
= 1.8.13.3 =
* BUG: Fixed bug when using a secondary gateway (e.g. PayPal Express) with Stripe as your primary gateway.

= 1.8.13.2 =
Expand Down
3 changes: 2 additions & 1 deletion shortcodes/checkout_button.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function pmpro_checkout_button_shortcode($atts, $content=null, $code="")
// $atts ::= array of attributes
// $content ::= text within enclosing form of shortcode element
// $code ::= the shortcode found, when == callback name
// examples: [checkout_button level="3"]
// examples: [pmpro_checkout_button level="3"]

extract(shortcode_atts(array(
'level' => NULL,
Expand All @@ -18,3 +18,4 @@ function pmpro_checkout_button_shortcode($atts, $content=null, $code="")
return pmpro_getCheckoutButton($level, $text, $class);
}
add_shortcode("pmpro_button", "pmpro_checkout_button_shortcode");
add_shortcode("pmpro_checkout_button", "pmpro_checkout_button_shortcode");

0 comments on commit f5fe5ce

Please sign in to comment.