Commit Graph

4806 Commits

Author SHA1 Message Date
Mykyta Synelnikov 9f54338c0a Fix member grid initialization for specific container check
Added a condition to initialize UM_Member_Grid only when the directory has the 'um-members-grid' class. This avoids unintended initialization and ensures proper functionality.
2025-04-14 15:02:02 +03:00
ashubawork 4dc4b7497c - small CSS fixes for directory block 2025-04-08 13:55:32 +03:00
Mykyta Synelnikov 1d4d3fa850 Merge pull request #1669 from ultimatemember/feature/as_refactor
Refactor Action Scheduler for not only email handling.
2025-04-04 13:00:10 +03:00
Mykyta Synelnikov 3858c6af83 Refactor Action Scheduler for not only email handling.
Updated the Action Scheduler implementation to improve flexibility and clarity. Replaced the 'enable_action_scheduler' option with 'enable_as_email_sending' for better specificity. Introduced hook-based checks to selectively enable email scheduling, ensuring compatibility and optimized performance.
2025-04-04 12:59:10 +03:00
Mykyta Synelnikov cc074bee3d Merge pull request #1668 from ultimatemember/fix/legacy_woo_meta
Add comments and legacy key for WooCommerce 9.1.0 support
2025-04-03 13:05:44 +03:00
Mykyta Synelnikov ccc7cd099b Add comments and legacy key for WooCommerce 9.1.0 support
Added comments to clarify the usage of meta keys introduced in WooCommerce 9.1.0 and marked TODOs for future cleanup. Also included a legacy key, `_money_spent`, for backward compatibility with WooCommerce versions below 9.1.0.
2025-04-03 13:05:10 +03:00
Mykyta Synelnikov 61b5d5581b Merge pull request #1666 from ultimatemember/fix/getimagesize
Fixed PHP Warning for images from an external source.
2025-04-03 12:31:15 +03:00
Mykyta Synelnikov f013118830 Update Ultimate Member plugin to version 2.10.3
Bump version references across the plugin files from 2.10.2 to 2.10.3. This includes updates to documentation, changelog placeholders, and blueprint download URLs to ensure consistency and preparation for the new release.
2025-04-03 12:28:28 +03:00
yuriinalivaiko e529b9d50f - fixed PHP Warning that occurs when using the getimagesize function with an image from an external source. 2025-04-02 22:23:14 +03:00
WordPress .pot File Generator b51d496ca9 🔄 Generated POT File 2025-04-02 08:40:43 +00:00
Mykyta Synelnikov 3b8a632d55 Merge pull request #1661 from ultimatemember/development/2.9.x
Version 2.10.2
2025-04-02 11:40:28 +03:00
Mykyta Synelnikov f346020d31 Update Ultimate Member plugin to version 2.10.2
This release addresses a critical security vulnerability (CVE-2025-1702) by improving query handling with `$wpdb->prepare()`. It also introduces new filesystem utility methods (`maybe_init_wp_filesystem`, `remove_dir`) and updates documentation accordingly. Users are strongly advised to update immediately.
2025-04-02 01:38:16 +03:00
Mykyta Synelnikov 1ff60c2c3a Merge pull request #1663 from ultimatemember/fix/1654_additional
Security patch related to the member directory search
2025-04-01 17:54:50 +03:00
Mykyta Synelnikov 8c7d7cadec Refactor nonce verification handling in search processing
Improved code readability by consolidating and consistently ignoring nonce verification warnings where it has already been verified. This simplifies the logic and ensures clearer handling of `$_POST` variables in the member directory search functionality.
2025-03-26 00:20:45 +02:00
Mykyta Synelnikov 6987660e62 Refactor member directory search to handle missing directory_id.
Ensure proper validation for `directory_id` when processing search queries. Default include and exclude fields are applied if `directory_id` is absent, preserving functionality and preventing errors.
2025-03-26 00:18:52 +02:00
Mykyta Synelnikov 77f6a13730 Refactor and enhance member directory search functionality.
Replaced deprecated and complex search query methods with a more streamlined and flexible implementation. Introduced improved handling of core and custom search fields, optimized search logic, and added better filter support. Incremented plugin version to 2.10.2 to reflect these changes.
2025-03-25 23:31:13 +02:00
Mykyta Synelnikov 7f586ef47e Update Ultimate Member to version 2.10.2 with filesystem fixes
Introduced `maybe_init_wp_filesystem` for better WP_Filesystem initialization and added new utility methods like `remove_dir`. Improved cache handling and documentation annotations for several methods. These changes enhance file management and ensure smoother integration.
2025-03-18 17:28:15 +02:00
Mykyta Synelnikov 6fea2c7f6a Merge pull request #1659 from ultimatemember/fix/1654_additional
Enhance SQL injection protection in regex patterns
2025-03-10 15:05:47 +02:00
Mykyta Synelnikov 51dc3b5747 Refine regex patterns to improve injection protection.
Simplified the regex patterns for detecting and preventing `sleep` and `benchmark` injections. This improves the accuracy and maintainability of the security checks in the member directory code.
2025-03-07 10:51:48 +02:00
Mykyta Synelnikov 7014623010 Enhance SQL injection protection in regex patterns
Updated regular expressions to strengthen protection against sleep and benchmark injection attacks. This change improves the security of queries by handling potential edge cases more effectively.
2025-03-07 01:25:05 +02:00
WordPress .pot File Generator f9378a7963 🔄 Generated POT File 2025-03-03 14:11:46 +00:00
Mykyta Synelnikov 83a61b445e Merge pull request #1651 from ultimatemember/development/2.9.x
Version 2.10.1
2025-03-03 16:11:16 +02:00
Mykyta Synelnikov 4300a7eb9e Merge branch 'master' into development/2.9.x 2025-03-03 16:11:01 +02:00
Mykyta Synelnikov 13fb170740 Merge pull request #1654 from ultimatemember/security/md-search
Security path due to CVE ID: CVE-2025-1702
2025-03-03 16:06:26 +02:00
Mykyta Synelnikov 2fda1c090f Updated readme.txt 2025-02-28 14:35:17 +02:00
Mykyta Synelnikov bb4117eea4 Update to version 2.10.1 with critical security fixes
This release addresses a security vulnerability (CVE-2025-1702) and includes several bugfixes, such as honeypot script handling and activation link behavior. Users must flush cached assets (JS/CSS) after upgrading to ensure proper functionality. Upgrade immediately for improved security and stability.
2025-02-28 14:31:58 +02:00
Mykyta Synelnikov 2f18dccd09 Refactor email activation flow in Ultimate Member.
Improved readability and clarity of the email activation process by updating comments and restructuring conditional checks. Added hooks and filters for better customization, including redirect URL filtering. Replaced `wp_redirect` with `um_safe_redirect` for safer redirection handling.
2025-02-28 14:21:54 +02:00
Mykyta Synelnikov 429e810048 Merge pull request #1648 from ultimatemember/fix/activate_account_via_email_link
Activation link redirects to Reset Password (CU-86cy0809h)
2025-02-28 13:57:17 +02:00
Mykyta Synelnikov c0d506b199 Merge remote-tracking branch 'origin/development/2.9.x' into fix/activate_account_via_email_link 2025-02-28 13:35:20 +02:00
Mykyta Synelnikov 2c46002fa5 Merge branch 'master' into development/2.9.x 2025-02-28 13:27:45 +02:00
Mykyta Synelnikov 74647d42cc Fix improper namespace usage and enhance regex validation due to CVE ID: CVE-2025-1702
Replaced \WP_User_Query with correctly imported WP_User_Query to ensure proper namespace handling. Added a new regex pattern to block sleep injections, enhancing security within the member directory query validation.
2025-02-28 12:13:15 +02:00
Mykyta Synelnikov d107153244 Refactor profile image handling in Ultimate Member.
Simplified Gravatar image logic and improved code readability by restructuring the image processing flow. Removed redundant variable initialization and adjusted handling of `$image_info`. This ensures cleaner, more maintainable code while preserving existing functionality.
2025-02-28 11:22:24 +02:00
Mykyta Synelnikov b40486f053 Merge pull request #1652 from ultimatemember/fix/gravatar
Gravatar warning
2025-02-28 00:55:02 +02:00
yuriinalivaiko 468c9748fc - fixed image metadata for Gravatar 2025-02-21 13:47:50 +02:00
Mykyta Synelnikov 959bd82cdc Update Ultimate Member plugin honeypot CSS and JS
Removed wp_add_inline_script/style and used `um_request` as default honeypot key in um-styles.css and um-scripts.js.
2025-02-19 12:36:26 +02:00
Mykyta Synelnikov a0d19b7ab6 Simplify honeypot script and inline style logic.
Removed unnecessary condition checks around honeypot script and style injection. Streamlined the code to always enqueue the honeypot logic, improving maintainability and reducing complexity.
2025-02-19 01:03:46 +02:00
WordPress .pot File Generator 0e391a551f 🔄 Generated POT File 2025-02-18 15:29:11 +00:00
Mykyta Synelnikov 7c7be4df04 Merge pull request #1649 from ultimatemember/development/2.9.x
Update plugin release date in changelog and readme files
2025-02-18 17:28:49 +02:00
Mykyta Synelnikov 14a6b6e887 Update plugin release date in changelog and readme files
Corrected the release date for version 2.10.0 from February 17, 2025, to February 18, 2025, in both the changelog and readme files. No functional changes were made to the plugin.
2025-02-18 17:27:17 +02:00
yuriinalivaiko 945ed3775a Task CU-86cy0809h
- fixed redirect to the Password Change page after the account activation.
2025-02-14 21:57:47 +02:00
WordPress .pot File Generator c0470ecdad 🔄 Generated POT File 2025-02-13 10:21:17 +00:00
Mykyta Synelnikov 1d7568e60c Merge pull request #1628 from ultimatemember/development/2.9.x
Version 2.10.0
2025-02-13 12:20:53 +02:00
Mykyta Synelnikov dfabe84f85 Update Ultimate Member to version 2.10.0. 2025-02-13 12:09:05 +02:00
Mykyta Synelnikov 0c183594b1 Update Ultimate Member to version 2.10.0
Bump plugin version to 2.10.0, update documentation, and adjust URLs and metadata accordingly. This release includes increased minimum PHP and WordPress requirements and addresses security-related issues. Users are strongly advised to update immediately.
2025-02-13 11:28:28 +02:00
Mykyta Synelnikov 2c01e25b5c Enhance form preview options and improve code consistency
Added separate buttons for 'Live Preview Screen' and 'Live Preview Mobile' in the form builder for better user experience. Updated coding standards for consistency, including proper handling of PHP tags and escaping functions. These changes improve readability, maintainability, and enhance functionality.

Issue #1646
2025-02-12 18:44:46 +02:00
Mykyta Synelnikov aadad09ea9 Fix spacing for query arguments in action listener.
Adjusted spacing for better code readability and consistency in the query arguments within the class-actions-listener.php file. This change ensures the code aligns with coding standards without affecting functionality.
2025-02-12 18:26:37 +02:00
Mykyta Synelnikov 3ada6c71d9 Update PHP requirement and improve user action handling
Raised minimum PHP version to 7.0 and finalized the plugin version to 2.9.3. Introduced a centralized user actions array and replaced 'manage_options' capability with 'edit_users' for better permission handling. Optimized the nonce actions extension method for cleaner code.

* reviewed #1619
2025-02-12 18:25:26 +02:00
Mykyta Synelnikov c3755baa16 Merge pull request #1624 from ultimatemember/fix/um-erase-data
The "Erase of your data" layout (CU-86cxneg3d)
2025-02-12 17:58:06 +02:00
Mykyta Synelnikov b1d6cc646b Refactor GDPR register template for improved readability.
Streamlined PHP logic and variable handling to enhance readability and maintainability. Consolidated duplicated code, ensuring cleaner output for privacy policy content and error management within the Ultimate Member plugin.
2025-02-12 17:55:11 +02:00
Mykyta Synelnikov 5633531153 Merge pull request #1643 from ultimatemember/fix/privacy_policy
Fix the "Privacy Policy" field in the registration form (CU-86cxva4f0)
2025-02-12 17:49:56 +02:00