Commit Graph

4875 Commits

Author SHA1 Message Date
Mykyta Synelnikov 524670ad53 Merge pull request #1683 from ultimatemember/fix/sitehealth
Sitehealth
2025-06-24 16:56:38 +03:00
Mykyta Synelnikov d2dcfb645a Refactor debug information structure across plugins
Updated the structure of debug information methods by replacing `array_merge` with simpler array extensions and renaming variables for clarity. This ensures consistent handling of role metadata and improves readability and maintainability of code across multiple plugins.
2025-06-24 16:42:20 +03:00
Mykyta Synelnikov 57141c994f Updated changelog.txt
Minified scripts
2025-06-23 13:34:57 +03:00
Mykyta Synelnikov 82d22da1a3 Merge pull request #1712 from ultimatemember/fix/blocks_restrictions_settings
Restrictions for all blocks
2025-06-23 13:24:47 +03:00
Mykyta Synelnikov b71cf0c359 Filter out empty meta values in usermeta queries. Alternative of #1707
This update adds a condition to exclude empty `meta_value` entries in multiple queries within the member directory class. It ensures more accurate results and prevents potential issues caused by blank metadata in the `usermeta` table.
2025-06-23 12:45:55 +03:00
ashubawork 45c8593157 - fix restrictions for all blocks 2025-06-19 15:30:30 +03:00
Mykyta Synelnikov 8f34bbb4fa Update changelog and readme for version 2.10.5 release
Document enhancements, bug fixes, and template update for v2.10.5, including new filter hooks, email placeholder fixes, and Action Scheduler updates. Highlight required cache flush and asset regeneration post-update.
2025-06-19 12:41:32 +03:00
Mykyta Synelnikov 032119a8ce Refactor batch action scheduling for account status updates (#1692)
Updated batch action logic to utilize correct constants and ensure proper scheduling. Added fallback scheduling logic in admin notices to address unscheduled batch actions and improve reliability.
2025-06-18 15:17:19 +03:00
Mykyta Synelnikov 53b0d479c8 Ensure email validation handles primary and secondary emails.
Added checks to enforce primary email requirement and prevent secondary email duplication with the primary email. Improved user lookup for unique email verification using meta queries.
2025-06-18 14:28:38 +03:00
Mykyta Synelnikov 25fcd0d97d Merge pull request #1708 from ultimatemember/fix/typo
Small typo fix
2025-06-18 13:26:51 +03:00
Mykyta Synelnikov ed5b162f88 Merge pull request #1710 from ultimatemember/fix/makedonia_country_name
Makedonia country name
2025-06-18 13:26:18 +03:00
Mykyta Synelnikov 31ee1452dd Merge pull request #1694 from ultimatemember/fix/fetch_user_while_password_reset_link
Refactor email placeholders and deprecate obsolete methods
2025-06-18 13:25:16 +03:00
ashubawork 056e9c2f73 - fix country name 2025-06-18 11:11:09 +03:00
Mykyta Synelnikov 1442c0605f Handle temporary user context switching in email actions
Introduces a mechanism to temporarily switch user context with `um_fetch_user` only when necessary, avoiding unintended user data overwrites. Ensures previous user context is restored after async email actions are triggered. This prevents potential conflicts in scenarios involving concurrent user operations.
2025-06-16 17:13:56 +03:00
ashubawork 1d3dde0141 - small typo fix 2025-06-16 10:05:04 +03:00
Mykyta Synelnikov 8d83489996 Update to version 2.10.5 and upgrade Action Scheduler
Bump plugin version to 2.10.5 and update stable tag in readme. Upgraded Action Scheduler dependency to version 3.9.2 to address library errors. Added filter hooks for primary button classes and improved deactivation logic for better scheduling handling.
2025-06-05 16:13:47 +03:00
Mykyta Synelnikov a8d631966d Merge pull request #1703 from ultimatemember/feature/button-hooks
Enhance button class filters
2025-06-05 16:06:41 +03:00
Mykyta Synelnikov 2368771617 Add filters for primary button classes in UM forms
Introduced new filters to customize CSS classes for primary buttons in login, registration, and password reset forms. This allows developers to extend button styling by applying custom classes via WordPress hooks. Changes enhance flexibility and improve theme compatibility.
2025-06-05 16:06:21 +03:00
Mykyta Synelnikov 723219e66a Remove unused UM login form shortcode logic.
The login form shortcode functionality was outdated and no longer in use. By removing it, the codebase is simplified and unnecessary complexity is eliminated. This improves maintainability and aligns with the current state of the plugin.
2025-06-05 01:41:50 +03:00
Mykyta Synelnikov 01c7bdf72e Add login shortcode and enhance button class filters
Introduce the `[um_login]` shortcode for rendering the login form, with backend logic for customization and error handling. Enhance flexibility by adding filters to dynamically modify primary button classes for login, register, and password-reset forms.
2025-06-04 17:39:27 +03:00
Mykyta Synelnikov 67c2ed3d04 Add Stripe API method and GPLv3 license metadata
Introduced a new `UM_Stripe_API` method in the `UM` class to extend functionality. Also added license metadata (GPLv3) and its URI in the plugin headers for better clarity and compliance.
2025-05-19 17:27:17 +03:00
Mykyta Synelnikov 9f96170920 Refactor deactivation logic in Ultimate Member plugin
Updated the deactivation process to properly un-schedule Action Scheduler actions, ensuring cleaner plugin behavior and preventing potential issues with lingering tasks. This change improves overall maintainability and stability.
2025-05-19 16:28:13 +03:00
Mykyta Synelnikov 25f111e957 Merge pull request #1695 from ultimatemember/fix/unschedule_um_actions
Refactor deactivation logic to unschedule additional actions
2025-05-19 16:25:42 +03:00
Mykyta Synelnikov da0ebf2f1f Bump plugin to version 2.10.5 2025-05-19 16:24:13 +03:00
Mykyta Synelnikov d40cb941c0 Refactor deactivation logic to unschedule additional actions
Made the `deactivation` method public and added calls to unschedule specific actions related to email dispatch and account status checks. This ensures proper cleanup of scheduled tasks during plugin deactivation.
2025-05-19 16:19:23 +03:00
Mykyta Synelnikov bcfdbb954d Refactor email placeholders and deprecate obsolete methods
Streamline placeholder handling for emails by introducing universal patterns and replacements, and update email dispatch functions for efficiency. Deprecated various redundant user and password-related methods, consolidating logic into common utility classes for better maintainability.
2025-05-19 14:26:39 +03:00
Mykyta Synelnikov d54a4117be Fix critical security issue and resolve multiple bugs
Addressed CVE-2025-47691 by updating the dynamic blacklist logic using WordPress functions. Fixed bugs related to Action Scheduler, password reset functionality, and email change settings for user accounts, ensuring better role compatibility. Updated version to 2.10.4.
2025-05-15 01:23:28 +03:00
Mykyta Synelnikov 6a134e881e Merge pull request #1691 from ultimatemember/security/CVE-2025-47691
Updates dynamic function blacklist for security enhancement
2025-05-15 01:09:52 +03:00
Mykyta Synelnikov 309a374a30 Refactor form request checks to simplify and optimize logic
Simplified conditional checks for password and account form submissions by replacing `isset` with `!empty` where applicable. This improves readability and reduces redundancy while maintaining functionality and security. Added comments to clarify nonce verification status.
2025-05-12 15:41:11 +03:00
Mykyta Synelnikov 9804b92583 Refactor form request checks to simplify and optimize logic
Simplified conditional checks for password and account form submissions by replacing `isset` with `!empty` where applicable. This improves readability and reduces redundancy while maintaining functionality and security. Added comments to clarify nonce verification status.
2025-05-12 15:39:52 +03:00
Mykyta Synelnikov fd558079f0 Merge pull request #1687 from ultimatemember/fix/password_reset_check
Password reset check
2025-05-12 15:30:34 +03:00
Mykyta Synelnikov b3242fe9b0 Added docs 2025-05-12 13:25:24 +03:00
Mykyta Synelnikov 9d83fba560 Update dynamic function blacklist for security enhancement
Added a mechanism to dynamically retrieve and merge updated WordPress function lists into the blacklist to prevent unsafe usage in dropdown options. Addresses a security issue (CVE-2025-47691) by using a JSON-based function source tied to WordPress versioning.
2025-05-12 13:16:17 +03:00
ashubawork 0aae50db53 - fix password reset page check 2025-05-01 13:14:46 +03:00
Mykyta Synelnikov 1181b7956d Merge pull request #1684 from ultimatemember/fix/change_account_email
Change email permissions
2025-04-30 13:57:27 +03:00
Mykyta Synelnikov 5de4986d2e Update to version 2.10.4 with bug fixes and improved user handling
This update fixes issues related to handling empty user statuses, ensuring proper account status checks and admin notice resets. It also updates plugin assets, documentation, and test scripts to reflect the new version (2.10.4). Additional improvements include enhanced error logging for more reliable diagnostics.
2025-04-30 13:04:55 +03:00
ashubawork 8083ad4e99 - fix change email permissions 2025-04-30 12:02:03 +03:00
ashubawork c347d8bcf7 - wpcs fixes 2025-04-30 11:07:22 +03:00
ashubawork ccbce2f663 - small fix 2025-04-30 10:36:52 +03:00
ashubawork 7bca143d50 - forms sitehealth 2025-04-30 10:36:24 +03:00
ashubawork 9b8365acb0 - roles, directories sitehealth 2025-04-29 15:14:28 +03:00
ashubawork a52954e8ae - access, appearance, emails sitehealth 2025-04-28 13:33:22 +03:00
ashubawork 004cfd12cd - fix general sitehealth 2025-04-25 12:42:42 +03:00
Mykyta Synelnikov f1f1bddeaf Add new settings fields to Site Health info
Introduce fields for "Ignore User Role Registration Options" and re-add "Email sending by Action Scheduler" under the Site Health settings. This improves the clarity and organization of user options in the admin interface.
2025-04-23 16:13:27 +03:00
Mykyta Synelnikov c6859072a0 Update to version 2.10.3 with enhancements and bug fixes
Added new settings for registration management and improved Action Scheduler flexibility. Resolved issues with Member Directory styling, filtering, and email placeholders. Updated terminology and documentation; ensure cached assets are refreshed post-update.
2025-04-23 16:05:34 +03:00
Mykyta Synelnikov b629b95624 Merge pull request #1680 from ultimatemember/fix/rp_email
Fixes reset password email for different cases
2025-04-23 15:51:12 +03:00
Mykyta Synelnikov db0da58351 Refactor password reset URL handling and email dispatch.
Added optional parameter to `reset_url` for user-specific handling. Updated email dispatch logic to include dynamic generation of the password reset link with proper placeholder replacements.
2025-04-23 14:35:38 +03:00
Mykyta Synelnikov 54deffd244 Enhance password reset logic and add Action Scheduler filter
Ensure proper handling of user data in password reset functions by adding checks and updating parameter handling. Introduce a new filter to extend site health information and include a setting for enabling email sending via Action Scheduler. Improve code clarity with updated comments and function annotations.
2025-04-22 17:16:55 +03:00
Mykyta Synelnikov 5fdf822183 Refactor version comparison logic in Ultimate Member.
Enhanced the `compare_versions` method to include a new `$raw` parameter for conditional handling. Improved readability, added additional checks, and updated translator comments to ensure compatibility and clear messaging.
2025-04-21 23:30:03 +03:00
Mykyta Synelnikov e99f158d18 Fixed #1677
Update country name from "Turkey" to "Türkiye"

Replaced the outdated reference to "Turkey" with "Türkiye" in the Ultimate Member plugin's built-in country list. This aligns with the country's preferred naming convention.
2025-04-17 20:02:28 +03:00