Changes between Initial Version and Version 1 of Ticket #22316, comment 326
- Timestamp:
- 02/25/2024 02:28:42 PM (7 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22316, comment 326
initial v1 7 7 2. A plugin should be blocked from Activation if it has missing dependencies. 8 8 9 [[Image( https://core.trac.wordpress.org/attachment/ticket/22316/2024-02-25_12-34-58.png)]]9 [[Image( https://core.trac.wordpress.org/raw-attachment/ticket/22316/2024-02-25_12-34-58.png )]] 10 10 11 11 Otherwise, we get: 12 12 13 [[Image(https://core.trac.wordpress.org/ attachment/ticket/22316/2024-02-25_12-43-30.png)]]13 [[Image(https://core.trac.wordpress.org/raw-attachment/ticket/22316/2024-02-25_12-43-30.png)]] 14 14 15 15 3. Can we have an error message in the admin and not like wp_die() dead end? … … 17 17 4. Notice that there is no name for the plugin that requires dependencies. In this case, it is ‘My Hello Dolly’. With a lot of plugins installed and some of them deactivated (as this is usually happening with projects with uneven history), it can be very confusing. 18 18 19 [[Image(https://core.trac.wordpress.org/ attachment/ticket/22316/2024-02-25_12-58-41.png)]]19 [[Image(https://core.trac.wordpress.org/raw-attachment/ticket/22316/2024-02-25_12-58-41.png)]] 20 20 21 21 5. If plugin was previously removed and due to this deactivated, and then added back again, the Note message is not matching its current state 22 22 23 [[Image(https://core.trac.wordpress.org/ attachment/ticket/22316/2024-02-25_13-25-34%20(2).png)]]23 [[Image(https://core.trac.wordpress.org/raw-attachment/ticket/22316/2024-02-25_13-25-34%20(2).png)]] 24 24 25 25 6. There are no check on the back end for dependencies during deactivation: 26 26 - Activate My Car plugin. Open another window and activate the My Car Trailer plugin. Go to the previous tab and deactivate the My Car plugin - it is successfully deactivated. 27 27 28 [[Image(https://core.trac.wordpress.org/ attachment/ticket/22316/2024-02-25_13-42-33.png)]]28 [[Image(https://core.trac.wordpress.org/raw-attachment/ticket/22316/2024-02-25_13-42-33.png)]] 29 29 30 30 7. Plugin deletion also has no check on the back end if with a valid link it can be deleted even if it has dependency. … … 33 33 9. The Note does not match the current possibilities either. 34 34 35 [[Image(https://core.trac.wordpress.org/ attachment/ticket/22316/2024-02-25_14-51-57.png)]]35 [[Image(https://core.trac.wordpress.org/raw-attachment/ticket/22316/2024-02-25_14-51-57.png)]] 36 36 37 37 10. The Note does not match the current state. 38 38 39 [[Image(https://core.trac.wordpress.org/ attachment/ticket/22316/2024-02-25_15-02-47.png)]]39 [[Image(https://core.trac.wordpress.org/raw-attachment/ticket/22316/2024-02-25_15-02-47.png)]] 40 40 41 41 === Environment