mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- removed Instagram extension from marketing pages;
- fixed security lack with not editable roles field;
This commit is contained in:
@@ -616,6 +616,10 @@ if ( ! class_exists( 'um\core\Form' ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( ! um_can_view_field( $field_settings ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$intersected_options = array();
|
||||
foreach ( $field_settings['options'] as $key => $title ) {
|
||||
if ( false !== $search_key = array_search( $title, $roles ) ) {
|
||||
|
||||
Reference in New Issue
Block a user