Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Ultimate Recipe Premium integration #232

Merged
merged 1 commit into from
Nov 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions wordpress/wp-content/plugins/memberful-wp/memberful-wp.php
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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