Merge branch 'development/2.9.x' into fix/CVE-2025-13220

This commit is contained in:
Mykyta Synelnikov
2025-12-16 17:13:37 +02:00
committed by GitHub
22 changed files with 337 additions and 86 deletions
+3
View File
@@ -775,6 +775,9 @@ if ( ! class_exists( 'um\core\Shortcodes' ) ) {
}
if ( 'directory' === $args['mode'] ) {
if ( ! UM()->member_directory()->can_view_directory( $this->form_id ) ) {
return ''; // Checking for privacy settings of the member directory
}
wp_enqueue_script( 'um_members' );
wp_enqueue_style( 'um_members' );
}