[wp-trac] [WordPress Trac] #60992: Plugin management: AJAX plugin activation consequences
WordPress Trac
noreply at wordpress.org
Wed Apr 17 23:48:29 UTC 2024
#60992: Plugin management: AJAX plugin activation consequences
-------------------------------------------------+-------------------------
Reporter: jeherve | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.5.3
Component: Plugins | Version: 6.5
Severity: normal | Resolution:
Keywords: has-patch needs-testing has- | Focuses:
testing-info |
-------------------------------------------------+-------------------------
Comment (by costdev):
== Testing Instructions for [https://github.com/WordPress/wordpress-
develop/pull/6401 PR 6401]
These steps define how to reproduce the issue, and indicate the expected
behavior.
=== Steps to Reproduce/Test
1. Navigate to `Plugins > Add New`.
2. Search for `WooCommerce`.
3. Click `Install Now`.
4. 🐞 Click `Activate`.
5. Navigate to `Plugins > Installed Plugins`.
6. Deactivate WooCommerce.
7. Apply [https://patch-diff.githubusercontent.com/raw/WordPress
/wordpress-develop/pull/6401.diff the patch].
8. Build core.
9. Navigate to `Plugins > Add New`.
10. Search for WooCommerce.
11. Perform a hard refresh to ensure the cache is cleared.
12. Click `Activate`.
=== Expected Results
When reproducing a bug:
- ❌ The `Activate` button should activate WooCommerce without refreshing
the page, but doesn't inform the user of what they may need to do next.
When testing a patch to validate it works as expected:
- ✅ The `Activate` button should activate WooCommerce without refreshing
the page, and a notice should appear to inform the user of what they may
need to do next.
=== Additional testing option
- Deactivate WooCommerce, then instead of clicking the `Activate` button
in its plugin card, click its `More Details` link and click the `Activate`
button inside the modal. The admin notice should appear on the screen
behind the modal.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60992#comment:47>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list