Plugin Directory

Changeset 2852682


Ignore:
Timestamp:
01/23/2023 02:10:49 AM (2 years ago)
Author:
julianmemberful
Message:

Tagging version 1.71.4

Location:
memberful-wp/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • memberful-wp/trunk/memberful-wp.php

    r2838571 r2852682  
    44Plugin URI: http://github.com/memberful/memberful-wp
    55Description: Sell memberships and restrict access to content with WordPress and Memberful.
    6 Version: 1.71.3
     6Version: 1.71.4
    77Author: Memberful
    88Author URI: http://memberful.com
     
    1111
    1212if ( ! defined( 'MEMBERFUL_VERSION' ) )
    13   define( 'MEMBERFUL_VERSION', '1.71.3' );
     13  define( 'MEMBERFUL_VERSION', '1.71.4' );
    1414
    1515if ( ! defined( 'MEMBERFUL_PLUGIN_FILE' ) )
  • memberful-wp/trunk/readme.txt

    r2838571 r2852682  
    55Tested up to: 6.1
    66Requires PHP: 7.0
    7 Stable tag: 1.71.3
     7Stable tag: 1.71.4
    88License: GPLv2 or later
    99
     
    4949
    5050== Changelog ==
     51
     52= 1.71.4 =
     53
     54* Fixed non-object access error when `memberful_wp_protect_content` runs outside of the Wordpress Loop.
    5155
    5256= 1.71.3 =
  • memberful-wp/trunk/src/content_filter.php

    r2714362 r2852682  
    55function memberful_wp_protect_content( $content ) {
    66  global $post;
     7
     8  if ( !isset( $post ) ) {
     9    # Return the content since we're not in the loop if `$post` is `NULL`
     10    # Temporary fix for Elasticpress' syncing issue
     11    return $content;
     12  }
    713
    814  if(doing_filter('memberful_wp_protect_content')){
Note: See TracChangeset for help on using the changeset viewer.