Skip to content

Commit

Permalink
* fixed #1541;
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitasinelnikov committed Sep 26, 2024
1 parent 28103de commit e9a3bcc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 4 additions & 2 deletions includes/common/class-theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ public function get_custom_templates_list() {
$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.
Expand Down Expand Up @@ -133,8 +135,8 @@ public function get_custom_templates_list() {
'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;
Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,16 +166,18 @@ 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**

* Added: Single user actions 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 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**

Expand All @@ -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**

Expand Down

0 comments on commit e9a3bcc

Please sign in to comment.