- fixed security vulnerability in queries with role attribute;

- fixed um_can_view_profile function;
This commit is contained in:
nikitasinelnikov
2020-09-28 21:34:14 +03:00
parent 85eb5bbee2
commit 2343a1891e
3 changed files with 20 additions and 19 deletions
@@ -505,10 +505,6 @@ if ( ! class_exists( 'um\admin\core\Admin_Enqueue' ) ) {
/**
* create gutenberg blocks
*/
register_block_type( 'um-block/um-user-profile-wall', array(
'editor_script' => 'um-blocks-shortcode-js',
) );
register_block_type( 'um-block/um-forms', array(
'editor_script' => 'um-blocks-shortcode-js',
) );