Commit Graph

4 Commits

Author SHA1 Message Date
Mykyta Synelnikov fb3a296fc8 Add debug mode for extensions updater
Introduced the `UM_UPDATER_DEBUG` constant to enable debugging for upgrade packages. This facilitates easier troubleshooting and testing during update processes.
2025-11-03 17:58:53 +02:00
Mykyta Synelnikov c2da11ff0a Refactor extension updater to use multiple hooks.
Updated the `package_start` method to define separate hooks for 'start' and 'complete' package lifecycle events. This improves code clarity and prepares the updater for handling more specific actions in the future.
2025-11-03 17:06:31 +02:00
Mykyta Synelnikov a25153e347 Add support for processing extension updates in batches
Introduced batch processing for extension updates with package start and complete hooks, preventing duplicate actions via transient flags. Added constants for configuration and helper methods to manage package version state effectively. Ensures smoother upgrade handling for Ultimate Member extensions.
2025-10-31 01:26:42 +02: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