mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- 2.2.2 release;
This commit is contained in:
@@ -41,7 +41,7 @@ GNU Version 2 or Any Later Version
|
||||
|
||||
## Releases
|
||||
|
||||
[Official Release Version: 2.2.1](https://github.com/ultimatemember/ultimatemember/releases/tag/2.2.1).
|
||||
[Official Release Version: 2.2.2](https://github.com/ultimatemember/ultimatemember/releases/tag/2.2.2).
|
||||
|
||||
## Changelog
|
||||
|
||||
|
||||
@@ -1747,8 +1747,8 @@ if ( ! class_exists( 'um\core\Access' ) ) {
|
||||
function filter_post_thumbnail( $has_thumbnail, $post, $thumbnail_id ) {
|
||||
if ( $this->is_restricted( $thumbnail_id ) ) {
|
||||
$has_thumbnail = false;
|
||||
} elseif ( ! empty( $post ) ) {
|
||||
if ( $this->is_restricted( $post ) ) {
|
||||
} elseif ( ! empty( $post ) && ! empty( $post->ID ) ) {
|
||||
if ( $this->is_restricted( $post->ID ) ) {
|
||||
$has_thumbnail = false;
|
||||
}
|
||||
} else {
|
||||
|
||||
+7
-1
@@ -7,7 +7,7 @@ Tags: community, member, membership, user-profile, user-registration
|
||||
Requires PHP: 5.6
|
||||
Requires at least: 5.0
|
||||
Tested up to: 5.8
|
||||
Stable tag: 2.2.1
|
||||
Stable tag: 2.2.2
|
||||
License: GNU Version 2 or Any Later Version
|
||||
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
@@ -155,6 +155,12 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
||||
* To learn more about version 2.1 please see this [docs](https://docs.ultimatemember.com/article/1512-upgrade-2-1-0)
|
||||
* UM2.1+ is a significant update to the Member Directories' code base from 2.0.x. Please make sure you take a full-site backup with restore point before updating the plugin
|
||||
|
||||
= 2.2.2: August 3, 2021 =
|
||||
|
||||
* Bugfixes:
|
||||
|
||||
- Fixed: `is_restricted()` functions in class-access.php. Avoid using object as array offset
|
||||
|
||||
= 2.2.1: August 2, 2021 =
|
||||
|
||||
* Enhancements:
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
Plugin Name: Ultimate Member
|
||||
Plugin URI: http://ultimatemember.com/
|
||||
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
|
||||
Version: 2.2.1
|
||||
Version: 2.2.2
|
||||
Author: Ultimate Member
|
||||
Author URI: http://ultimatemember.com/
|
||||
Text Domain: ultimate-member
|
||||
|
||||
Reference in New Issue
Block a user