Changeset 2852682
- Timestamp:
- 01/23/2023 02:10:49 AM (2 years ago)
- Location:
- memberful-wp/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
memberful-wp/trunk/memberful-wp.php
r2838571 r2852682 4 4 Plugin URI: http://github.com/memberful/memberful-wp 5 5 Description: Sell memberships and restrict access to content with WordPress and Memberful. 6 Version: 1.71. 36 Version: 1.71.4 7 7 Author: Memberful 8 8 Author URI: http://memberful.com … … 11 11 12 12 if ( ! defined( 'MEMBERFUL_VERSION' ) ) 13 define( 'MEMBERFUL_VERSION', '1.71. 3' );13 define( 'MEMBERFUL_VERSION', '1.71.4' ); 14 14 15 15 if ( ! defined( 'MEMBERFUL_PLUGIN_FILE' ) ) -
memberful-wp/trunk/readme.txt
r2838571 r2852682 5 5 Tested up to: 6.1 6 6 Requires PHP: 7.0 7 Stable tag: 1.71. 37 Stable tag: 1.71.4 8 8 License: GPLv2 or later 9 9 … … 49 49 50 50 == Changelog == 51 52 = 1.71.4 = 53 54 * Fixed non-object access error when `memberful_wp_protect_content` runs outside of the Wordpress Loop. 51 55 52 56 = 1.71.3 = -
memberful-wp/trunk/src/content_filter.php
r2714362 r2852682 5 5 function memberful_wp_protect_content( $content ) { 6 6 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 } 7 13 8 14 if(doing_filter('memberful_wp_protect_content')){
Note: See TracChangeset
for help on using the changeset viewer.