diff --git a/paid-memberships-pro.php b/paid-memberships-pro.php index 98a71352c..89333b95f 100644 --- a/paid-memberships-pro.php +++ b/paid-memberships-pro.php @@ -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 diff --git a/readme.txt b/readme.txt index ca72b00fb..a337153fe 100644 --- a/readme.txt +++ b/readme.txt @@ -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. @@ -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 = diff --git a/shortcodes/checkout_button.php b/shortcodes/checkout_button.php index 454713b11..88700f75a 100644 --- a/shortcodes/checkout_button.php +++ b/shortcodes/checkout_button.php @@ -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, @@ -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"); \ No newline at end of file