From 6aab8152f8051f28cd9c662b616545c7d80b0a37 Mon Sep 17 00:00:00 2001 From: Mykyta Synelnikov Date: Tue, 14 Jan 2025 17:21:26 +0200 Subject: [PATCH 01/25] * bump version; --- .wordpress-org/blueprints/blueprint.json | 2 +- README.md | 2 +- readme.txt | 3 +++ ultimate-member.php | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.wordpress-org/blueprints/blueprint.json b/.wordpress-org/blueprints/blueprint.json index af1def30..925d2710 100644 --- a/.wordpress-org/blueprints/blueprint.json +++ b/.wordpress-org/blueprints/blueprint.json @@ -15,7 +15,7 @@ "step": "installPlugin", "pluginZipFile": { "resource": "url", - "url": "https:\/\/downloads.wordpress.org\/plugin\/ultimate-member.2.9.2.zip" + "url": "https:\/\/downloads.wordpress.org\/plugin\/ultimate-member.2.9.3.zip" }, "options": { "activate": true diff --git a/README.md b/README.md index 25ffb73b..392f043b 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ GNU Version 2 or Any Later Version ### 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 -[Official Release Version: 2.9.2](https://github.com/ultimatemember/ultimatemember/releases/tag/2.9.2). +[Official Release Version: 2.9.3](https://github.com/ultimatemember/ultimatemember/releases/tag/2.9.3). ## Changelog diff --git a/readme.txt b/readme.txt index c3f8ca15..8e99e195 100644 --- a/readme.txt +++ b/readme.txt @@ -167,6 +167,9 @@ 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.3 2025-xx-xx = + + = 2.9.2 2025-01-14 = **Enhancements** diff --git a/ultimate-member.php b/ultimate-member.php index b97ae1e0..ae649d4b 100644 --- a/ultimate-member.php +++ b/ultimate-member.php @@ -3,7 +3,7 @@ * Plugin Name: Ultimate Member * Plugin URI: http://ultimatemember.com/ * Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress - * Version: 2.9.2 + * Version: 2.9.3-alpha * Author: Ultimate Member * Author URI: http://ultimatemember.com/ * Text Domain: ultimate-member From 0624a634d21510fe04b6dc97d491c0e105d165dd Mon Sep 17 00:00:00 2001 From: Mykyta Synelnikov Date: Tue, 14 Jan 2025 17:36:20 +0200 Subject: [PATCH 02/25] * fixed money_spent meta table update --- includes/admin/core/class-admin-settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/admin/core/class-admin-settings.php b/includes/admin/core/class-admin-settings.php index 0325d07b..cbcd6003 100644 --- a/includes/admin/core/class-admin-settings.php +++ b/includes/admin/core/class-admin-settings.php @@ -97,20 +97,20 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) { $metakeys = apply_filters( 'um_metadata_same_page_update_ajax', $metakeys, UM()->builtin()->all_user_fields ); if ( is_multisite() ) { - $sites = get_sites( array( 'fields' => 'ids' ) ); foreach ( $sites as $blog_id ) { $metakeys[] = $wpdb->get_blog_prefix( $blog_id ) . 'capabilities'; + $metakeys[] = 'wc_money_spent_' . rtrim( $wpdb->get_blog_prefix( $blog_id ), '_' ); } } else { $blog_id = get_current_blog_id(); $metakeys[] = $wpdb->get_blog_prefix( $blog_id ) . 'capabilities'; + $metakeys[] = 'wc_money_spent_' . rtrim( $wpdb->get_blog_prefix( $blog_id ), '_' ); } //member directory data $metakeys[] = 'um_member_directory_data'; $metakeys[] = '_um_verified'; - $metakeys[] = '_money_spent'; $metakeys[] = '_completed'; $metakeys[] = '_reviews_avg'; From b0b9f82ebebb36370efe217b559fc638d6e3bfbf Mon Sep 17 00:00:00 2001 From: Mykyta Synelnikov Date: Wed, 15 Jan 2025 12:02:08 +0200 Subject: [PATCH 03/25] * fixed order_count meta table update --- includes/admin/core/class-admin-settings.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/admin/core/class-admin-settings.php b/includes/admin/core/class-admin-settings.php index cbcd6003..00c300dd 100644 --- a/includes/admin/core/class-admin-settings.php +++ b/includes/admin/core/class-admin-settings.php @@ -101,11 +101,13 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) { foreach ( $sites as $blog_id ) { $metakeys[] = $wpdb->get_blog_prefix( $blog_id ) . 'capabilities'; $metakeys[] = 'wc_money_spent_' . rtrim( $wpdb->get_blog_prefix( $blog_id ), '_' ); + $metakeys[] = 'wc_order_count_' . rtrim( $wpdb->get_blog_prefix( $blog_id ), '_' ); } } else { $blog_id = get_current_blog_id(); $metakeys[] = $wpdb->get_blog_prefix( $blog_id ) . 'capabilities'; $metakeys[] = 'wc_money_spent_' . rtrim( $wpdb->get_blog_prefix( $blog_id ), '_' ); + $metakeys[] = 'wc_order_count_' . rtrim( $wpdb->get_blog_prefix( $blog_id ), '_' ); } //member directory data From 8bf8a0130bbdc5f81016ade65a4f82c9142bf347 Mon Sep 17 00:00:00 2001 From: yuriinalivaiko Date: Mon, 13 Jan 2025 16:50:14 +0200 Subject: [PATCH 04/25] fixed "Download your data" and "Erase of your data" fields layout. --- includes/core/um-actions-account.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/includes/core/um-actions-account.php b/includes/core/um-actions-account.php index c2d0e94f..952ec739 100644 --- a/includes/core/um-actions-account.php +++ b/includes/core/um-actions-account.php @@ -681,7 +681,7 @@ function um_after_account_privacy( $args ) { } else { if ( UM()->account()->current_password_is_required( 'privacy_download_data' ) ) { ?> -