This commit is contained in:
Mykyta Synelnikov
2024-09-26 12:08:16 +03:00
parent 28103de201
commit e9a3bcc9fa
2 changed files with 9 additions and 4 deletions
+4 -2
View File
@@ -106,6 +106,8 @@ class Theme {
$scan_files = self::get_all_templates(); $scan_files = self::get_all_templates();
foreach ( $scan_files as $key => $files ) { foreach ( $scan_files as $key => $files ) {
foreach ( $files as $file ) { foreach ( $files as $file ) {
$file = wp_normalize_path( $file ); // for not a Linux hosting.
if ( false === strpos( $file, 'email/' ) ) { if ( false === strpos( $file, 'email/' ) ) {
/** /**
* Filters an array of the template files for scanning versions based on $key. * Filters an array of the template files for scanning versions based on $key.
@@ -133,8 +135,8 @@ class Theme {
'profile/comments-single.php', 'profile/comments-single.php',
'profile/posts.php', 'profile/posts.php',
'profile/posts-single.php', 'profile/posts-single.php',
'modal/um_upload_single.php', 'modal/upload-single.php',
'modal/um_view_photo.php', 'modal/view-photo.php',
); );
$theme_file = false; $theme_file = false;
+5 -2
View File
@@ -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 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** **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 status filter on WP Users list table
* Updated: User bulk actions on WP Users list table * Updated: User bulk actions on WP Users list table
* Updated: User actions on User Profile and Member Directory card * 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: 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** **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: UM links to empty phone numbers
* Fixed: Email changing via User Account flush session. Security enhancement because email can be used for login * 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: User Profile image URL in meta tags
* Fixed: Empty User Profile and PHP Fatal error when cannot get profile field data
**Templates required update** **Templates required update**