Skip to content

Commit

Permalink
Merge pull request #232 from memberful/fix-ultimate-recipe-premium
Browse files Browse the repository at this point in the history
Fix Ultimate Recipe Premium integration
  • Loading branch information
mrhead committed Nov 27, 2018
2 parents 6190dc7 + 35a3bb4 commit 873bd6d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions wordpress/wp-content/plugins/memberful-wp/memberful-wp.php
Expand Up @@ -3,14 +3,14 @@
Plugin Name: Memberful WP
Plugin URI: http://github.com/memberful/memberful-wp
Description: Sell memberships and restrict access to content with WordPress and Memberful.
Version: 1.43.0
Version: 1.43.1
Author: Memberful
Author URI: http://memberful.com
License: GPLv2 or later
*/

if ( ! defined( 'MEMBERFUL_VERSION' ) )
define( 'MEMBERFUL_VERSION', '1.43.0' );
define( 'MEMBERFUL_VERSION', '1.43.1' );

if ( ! defined( 'MEMBERFUL_PLUGIN_FILE' ) )
define( 'MEMBERFUL_PLUGIN_FILE', __FILE__ );
Expand Down Expand Up @@ -78,7 +78,7 @@
require_once MEMBERFUL_DIR . '/src/contrib/wp-ultimate-recipe.php';
}

if ( in_array( 'wp-ultimate-recipe/wp-ultimate-recipe-premium.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
if ( in_array( 'wp-ultimate-recipe-premium/wp-ultimate-recipe-premium.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
require_once MEMBERFUL_DIR . '/src/contrib/wp-ultimate-recipe-premium.php';
}

Expand Down
6 changes: 5 additions & 1 deletion wordpress/wp-content/plugins/memberful-wp/readme.txt
Expand Up @@ -3,7 +3,7 @@ Contributors: matt-button, drewstrojny, dwestendorf, rusuandreirobert, sumobi, W
Tags: memberful, member, membership, memberships, recurring payments, recurring billing, paywall, subscriptions, stripe, oauth, oauth2
Requires at least: 3.6
Tested up to: 4.9
Stable tag: 1.43.0
Stable tag: 1.43.1
License: GPLv2 or later

Sell memberships and restrict access to content with WordPress and Memberful.
Expand Down Expand Up @@ -48,6 +48,10 @@ Glad you asked! We manage development of the plugin over at the [Memberful WP Gi

== Changelog ==

= 1.43.1 =

* Fix for WP Ultimate Recipe Premium integration.

= 1.43.0 =

* Add support for WP Ultimate Recipe Premium.
Expand Down
@@ -1,5 +1,5 @@
<?php
if ( in_array( 'wp-ultimate-recipei-premium/wp-ultimate-recipe-premium.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
if ( in_array( 'wp-ultimate-recipe-premium/wp-ultimate-recipe-premium.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
add_action( 'wp', 'memberful_disable_wp_ultimate_recipe_premium_content_filter' );

function memberful_disable_wp_ultimate_recipe_premium_content_filter() {
Expand Down

0 comments on commit 873bd6d

Please sign in to comment.