Changes between Initial Version and Version 1 of Ticket #60491, comment 3
- Timestamp:
- 02/10/2024 03:34:30 AM (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #60491, comment 3
initial v1 1 1 The main difference between "not loaded" and "deactivated" in the context of #60457 is that deactivating performs a DB write to `active_plugins`, whereas not loading just skips the `require_once`. 2 2 3 To avoid a DB write, we wouldhave to remove the automatic deactivation of dependents with unmet dependencies, at least from the frontend.3 We will have to remove the automatic deactivation of dependents with unmet dependencies, at least from the frontend. 4 4 5 5 Changing so that automatic deactivation is only performed on `plugins.php`, for example, will involve relocating `WP_Plugin_Dependencies::initialize()` to below `require ABSPATH . WPINC . '/vars.php';` in `wp-settings.php`. This means that `$pagenow` is defined and can therefore be used in a guard.