diff --git a/includes/common/class-theme.php b/includes/common/class-theme.php index 896627ef..d81bf084 100644 --- a/includes/common/class-theme.php +++ b/includes/common/class-theme.php @@ -106,6 +106,8 @@ class Theme { $scan_files = self::get_all_templates(); foreach ( $scan_files as $key => $files ) { foreach ( $files as $file ) { + $file = wp_normalize_path( $file ); // for not a Linux hosting. + if ( false === strpos( $file, 'email/' ) ) { /** * Filters an array of the template files for scanning versions based on $key. @@ -133,8 +135,8 @@ class Theme { 'profile/comments-single.php', 'profile/posts.php', 'profile/posts-single.php', - 'modal/um_upload_single.php', - 'modal/um_view_photo.php', + 'modal/upload-single.php', + 'modal/view-photo.php', ); $theme_file = false; diff --git a/readme.txt b/readme.txt index f4d9f125..f9f1fd71 100644 --- a/readme.txt +++ b/readme.txt @@ -166,7 +166,7 @@ No specific extensions are needed. But we highly recommended keep active these P IMPORTANT: PLEASE UPDATE THE PLUGIN TO AT LEAST VERSION 2.6.7 IMMEDIATELY. VERSION 2.6.7 PATCHES SECURITY PRIVILEGE ESCALATION VULNERABILITY. PLEASE SEE [THIS ARTICLE](https://docs.ultimatemember.com/article/1866-security-incident-update-and-recommended-actions) FOR MORE INFORMATION -= 2.8.7 2024-09-26 = += 2.8.7 2024-09-30 = **Enhancements** @@ -174,8 +174,10 @@ IMPORTANT: PLEASE UPDATE THE PLUGIN TO AT LEAST VERSION 2.6.7 IMMEDIATELY. VERSI * Updated: User status filter on WP Users list table * Updated: User bulk actions on WP Users list table * Updated: User actions on User Profile and Member Directory card -* Added: Applying shortcodes from the post restriction message +* Added: Applying shortcodes in the post restriction message * Added: ProfilePage Structured Data +* Added: Ability to use HTML tags (allowed in `wp_kses_post`) in the global block restriction message +* Changed: Some wp-admin fields descriptions **Bugfixes** @@ -187,6 +189,7 @@ IMPORTANT: PLEASE UPDATE THE PLUGIN TO AT LEAST VERSION 2.6.7 IMMEDIATELY. VERSI * Fixed: UM links to empty phone numbers * Fixed: Email changing via User Account flush session. Security enhancement because email can be used for login * Fixed: User Profile image URL in meta tags +* Fixed: Empty User Profile and PHP Fatal error when cannot get profile field data **Templates required update**