- 2.1.4-rc.1;

This commit is contained in:
nikitasinelnikov
2020-12-21 03:29:57 +02:00
parent db015f8af4
commit aadf1d7104
4 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -441,7 +441,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Enqueue' ) ) {
wp_set_script_translations( 'um_block_js', 'ultimate-member' );
$restrict_options = array();
$roles = UM()->roles()->get_roles( false, array( 'administrator' ) );
$roles = UM()->roles()->get_roles( false );
if ( ! empty( $roles ) ) {
foreach ( $roles as $role_key => $title ) {
$restrict_options[] = array(
+1 -1
View File
@@ -405,7 +405,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) {
'type' => 'multi_checkbox',
'label' => __( 'Select which roles can access this content', 'ultimate-member' ),
'description' => __( 'Activate content restriction for this post', 'ultimate-member' ),
'options' => UM()->roles()->get_roles( false, array( 'administrator' ) ),
'options' => UM()->roles()->get_roles( false ),
'columns' => 3,
'conditional' => array( '_um_accessible', '=', '2' )
),
+4
View File
@@ -155,6 +155,10 @@ 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.1.14: December 21, 2020 =
= 2.1.13: December 8, 2020 =
* Enhancements:
+1 -1
View File
@@ -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.1.14-alpha1
Version: 2.1.14-rc.1
Author: Ultimate Member
Author URI: http://ultimatemember.com/
Text Domain: ultimate-member