From cce0dbdc2762448eaef9372d21988e727e271726 Mon Sep 17 00:00:00 2001 From: Mykyta Synelnikov Date: Tue, 5 Nov 2024 12:28:51 +0200 Subject: [PATCH] * fixed compatibility with WP6.7; --- readme.txt | 4 ++-- ultimate-member.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.txt b/readme.txt index bfef8a5f..8904ab3b 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Contributors: ultimatemember, champsupertramp, nsinelnikov Tags: community, member, membership, user-profile, user-registration Requires PHP: 5.6 Requires at least: 5.5 -Tested up to: 6.6 +Tested up to: 6.7 Stable tag: 2.8.9 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.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.9.0 2024-xx-xx = += 2.9.0 2024-11-12 = **Bugfixes** diff --git a/ultimate-member.php b/ultimate-member.php index 21b20d4f..8b572d91 100644 --- a/ultimate-member.php +++ b/ultimate-member.php @@ -17,7 +17,7 @@ defined( 'ABSPATH' ) || exit; require_once ABSPATH . 'wp-admin/includes/plugin.php'; -$plugin_data = get_plugin_data( __FILE__ ); +$plugin_data = get_plugin_data( __FILE__, true, false ); // phpcs:disable Generic.NamingConventions.UpperCaseConstantName define( 'um_url', plugin_dir_url( __FILE__ ) );