mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed user update logic;
- checked and optimized um_role() function; - small changes and fixes for 2.0;
This commit is contained in:
@@ -556,7 +556,7 @@ if ( ! class_exists( 'Shortcodes' ) ) {
|
||||
|
||||
|
||||
|
||||
$current_user_role = um_user('role');
|
||||
$current_user_role = um_user( 'role' );
|
||||
|
||||
if( isset( $a['not'] ) && ! empty( $a['not'] ) && isset( $a['roles'] ) && ! empty( $a['roles'] ) ){
|
||||
return do_shortcode( $content );
|
||||
|
||||
Reference in New Issue
Block a user