Commit Graph

4919 Commits

Author SHA1 Message Date
Mykyta Synelnikov da4a5ccce6 Add function to check if a post is a predefined page
Introduce `um_post_is_predefined_page` to determine if a given post ID corresponds to a predefined page. This enhances functionality by allowing checks against predefined page slugs mapped in the plugin configuration.
2025-09-16 16:00:26 +03:00
Mykyta Synelnikov 39b3b3873e Add new sanitization cases for array-based input validation
Introduced 'sanitize_array_key_int' and 'sanitize_array_key' cases to enhance sanitization of array-based input in admin settings. This ensures default values are used for invalid keys and enforces stricter validation for cleaner and more secure input handling.
2025-09-08 23:20:59 +03:00
Mykyta Synelnikov d9f924a294 Merge pull request #1740 from ultimatemember/fix/cover_size
Fix cover image size handling and add fallback for invalid sizes. Reviewed #1736
2025-09-06 14:45:30 +03:00
Mykyta Synelnikov 5c67164cc2 Fix cover image size handling and add fallback for invalid sizes
Improved logic to handle cases where the cover image size array is invalid or empty by adding a fallback default size. For mobile devices, the second size is used if available, or the first size is used as a fallback. This ensures proper cover size selection and prevents potential errors.
2025-09-06 14:42:15 +03:00
Mykyta Synelnikov 4cfda2922b Merge pull request #1739 from ultimatemember/fix/start_of_week
Fix invalid 'start_of_week' handling in weekly events logic
2025-09-05 15:33:18 +03:00
Mykyta Synelnikov 3cafd12137 Fix invalid 'start_of_week' handling in weekly events logic
Ensure 'start_of_week' option is validated as numeric to prevent incorrect calculations. This fixes potential issues when non-numeric values are stored in the option.
2025-09-05 15:24:28 +03:00
Mykyta Synelnikov cb856d05a2 Merge pull request #1731 from ultimatemember/fix/condition_logic_contain
Condition logic contain
2025-09-05 15:10:11 +03:00
Mykyta Synelnikov f7768d8477 Add filter to exclude third-party Gutenberg block prefixes
Introduced the `um_admin_blocks_prefixes_excluded` JS filter hook to allow exclusion of third-party Gutenberg blocks with specific prefixes from UM restriction attributes. This improves compatibility and flexibility when handling external blocks. Updated relevant JS and documentation files to support this feature.
2025-09-05 12:21:57 +03:00
Mykyta Synelnikov ab95aead02 Merge pull request #1727 from ultimatemember/fix/block_restriction_hotfix
Blocklist for blocks restrictions
2025-09-05 12:17:55 +03:00
Mykyta Synelnikov 6ae2ec4ec8 Add filter hook to customize empty status user queries
Introduced the `um_get_empty_status_users_query_result` filter to allow customization of the query used for fetching users with empty statuses. This enhances flexibility and enables optimization for different website setups. Updated relevant documentation in the readme file.
2025-09-05 12:17:15 +03:00
Mykyta Synelnikov 58fdd9f943 Update user profile link handling in frontend
Refactored methods to change user profile edit and comment author URL logic, ensuring compatibility with Ultimate Member plugin's structure. Updated readme file to reflect changes and fixed bugs related to profile link display in the comments section.
2025-09-05 12:08:19 +03:00
Mykyta Synelnikov 2b8d964a1d Merge pull request #1728 from ultimatemember/fix/edit_user_link
Edit user link
2025-09-05 11:58:49 +03:00
Mykyta Synelnikov 0a0490b7cc Merge pull request #1729 from ultimatemember/fix/package_update
Fix package update
2025-09-03 14:42:49 +03:00
ashubawork 6905df14ea - fixed comment author link in commetns block 2025-08-26 09:59:53 +03:00
Mykyta Synelnikov 2c9b1d7ddb Merge pull request #1732 from ultimatemember/fix/mobile_cache
Add mobile cache bypass for specific Ultimate Member pages
2025-08-05 01:19:11 +03:00
Mykyta Synelnikov 6434218f96 Add mobile cache bypass for specific Ultimate Member pages
Prevent caching on mobile devices for login, register, and account pages in Ultimate Member. This ensures updated content is always displayed and avoids caching-related issues on these critical pages.
2025-08-04 12:47:13 +03:00
ashubawork 91b15a80ef - fix contain in conditional logic 2025-07-31 13:49:45 +03:00
ashubawork 4522e6d64c - fix fatal error 2.0-beta1 package update 2025-07-30 13:09:54 +03:00
ashubawork 982dbd4e7f - fix edit user link 2025-07-30 12:24:10 +03:00
ashubawork 824c95e414 - fix block restrictions 3rd party plugin 2025-07-30 10:07:01 +03:00
Mykyta Synelnikov a50ab63067 Update Action Scheduler dependency to use version 3.9.x
Changed the version constraint for the woocommerce/action-scheduler dependency from 3.9.2 to 3.9.* in composer.json. This ensures compatibility with all minor updates within the 3.9 release.
2025-07-15 12:59:39 +03:00
Mykyta Synelnikov 976c0c75e2 Add Extensions_Updater class for handling extension updates
Introduced a new `Extensions_Updater` class to manage extension update processes, including version checks and file execution. Added a corresponding `extension_updater` method in `class-admin.php` to initialize and manage updater instances based on provided data.
2025-07-07 13:04:19 +03:00
Mykyta Synelnikov 11763def5a Merge pull request #1716 from ultimatemember/fix/slider_range_query
Fix: exclude empty meta values in directory filtering
2025-06-30 17:03:50 +03:00
Mykyta Synelnikov 0845f55604 Fix: exclude empty meta values in directory filtering
Previously, empty `meta_value` entries were included in the query, potentially causing inaccurate results. This update adds a condition to exclude empty `meta_value` entries, ensuring more reliable directory filtering.
2025-06-27 14:24:08 +03:00
Mykyta Synelnikov 49bae99f9b Merge branch 'master' into development/2.9.x 2025-06-25 18:33:10 +03:00
WordPress .pot File Generator de586ff9cb 🔄 Generated POT File 2025-06-25 15:10:11 +00:00
Mykyta Synelnikov d28642a657 Fix email validation logic in Ultimate Member forms
Updated the condition to ensure proper validation for secondary email fields. This change ensures unique email addresses and prevents potential conflicts in user data.
2025-06-25 18:09:48 +03:00
Mykyta Synelnikov 966a7d19a6 Merge branch 'master' into development/2.9.x 2025-06-25 16:33:41 +03:00
WordPress .pot File Generator 561b2b386a 🔄 Generated POT File 2025-06-25 13:24:35 +00:00
Mykyta Synelnikov 4d83a7eec3 Fix email validation logic in Ultimate Member forms
Updated conditions to handle empty and invalid email input more accurately. Ensures required emails are not skipped and includes stricter checks for existing or incorrect emails.
2025-06-25 16:24:14 +03:00
Mykyta Synelnikov 0088d35281 Merge branch 'master' into development/2.9.x 2025-06-25 16:11:53 +03:00
WordPress .pot File Generator 3cd647c68c 🔄 Generated POT File 2025-06-25 13:01:32 +00:00
Mykyta Synelnikov 03725ffcff Add new hooks, refactor workflows, and deprecate unused functions
Introduced new filter hooks for primary button classes in forms and improved URL handling for password resets and account activations. Deprecated several unused functions and replaced them with updated alternatives to streamline the codebase. Updated documentation and templates accordingly.
2025-06-25 16:01:08 +03:00
Mykyta Synelnikov 2e90965a92 Bump Ultimate Member to version 2.10.6-alpha
Bump version across plugin files and update references to reflect the new official release, 2.10.6. This ensures consistency in documentation and downloadable resources.
2025-06-25 13:39:37 +03:00
WordPress .pot File Generator 4f320d109f 🔄 Generated POT File 2025-06-25 10:27:48 +00:00
Mykyta Synelnikov 5e5b149815 Merge pull request #1696 from ultimatemember/development/2.9.x
Version 2.10.5
2025-06-25 13:27:31 +03:00
Mykyta Synelnikov ff55ea2a59 Update changelog and readme with new fixes and enhancements
Added filter hooks for button classes and tweaked Site Health data logic for better 3rd-party integration. Fixed shortcode handling, email placeholder issues, and corrected naming inconsistencies like "North Macedonia."
2025-06-24 17:30:12 +03:00
Mykyta Synelnikov d3a5dc6acc Merge pull request #1713 from ultimatemember/fix/strip_shortcodes_in_submission
Fixes unstripped shortcodes in submission
2025-06-24 17:22:47 +03:00
Mykyta Synelnikov 213b419913 Fix user ID comparison with absint to ensure type safety
Updated the user ID comparison logic in the Ultimate Member plugin to use `absint` for both values. This prevents type mismatches and ensures robust validation during form submission.
2025-06-24 17:19:48 +03:00
Mykyta Synelnikov a102d22ce1 Prevent shortcode execution in user input sanitization.
Added `strip_shortcodes` across various sanitization routines to ensure user inputs do not execute shortcodes. This enhances security by blocking unintended shortcode processing in fields such as text, email, URLs, and form descriptions.
2025-06-24 17:16:28 +03:00
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