mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 06:33:50 +09:00
- fix privacy update on the account page
This commit is contained in:
@@ -2712,4 +2712,12 @@ if ( ! function_exists( 'um_is_profile_owner' ) ) {
|
||||
|
||||
return ( $user_id == um_profile_id() );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Strip tags if array
|
||||
*/
|
||||
function um_strip_tags_array( $var ) {
|
||||
$var = trim( esc_html( strip_tags( $var ) ) );
|
||||
return $var;
|
||||
}
|
||||
Reference in New Issue
Block a user