[wp-trac] [WordPress Trac] #60992: Plugin management: AJAX plugin activation consequences

WordPress Trac noreply at wordpress.org
Wed Apr 17 00:06:02 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                                   |
-------------------------------------------------+-------------------------
Changes (by costdev):

 * keywords:  has-patch needs-testing => has-patch needs-testing has-
     testing-info


Comment:

 == Testing Instructions
 These steps define how to reproduce the issue, and indicate the expected
 behavior.

 === Steps to Reproduce
 1. Navigate to `Plugins > Add New`.
 2. Search for `WooCommerce`.
 3. Click `Install Now`.
 4. 🐞 Click `Activate`.
 5. Deactivate and delete WooCommerce.
 6. Apply [https://patch-diff.githubusercontent.com/raw/WordPress
 /wordpress-develop/pull/6398.diff the patch].
 7. Build core.
 8. Navigate to `Plugins > Add New`.
 9. Search for WooCommerce.
 10. Perform a hard refresh to ensure the cache is cleared.
 11. Click `Activate`.

 === Expected Results
 When reproducing a bug:
 - ❌ The `Activate` button should activate WooCommerce without refreshing
 the page.

 When testing a patch to validate it works as expected:
 - ✅ The `Activate` button should activate WooCommerce and redirect,
 either to the WooCommerce onboarding experience, or to `Plugins >
 Installed plugins`, depending on whether the `_wc_activation_redirect`
 transient is set to `1` (1 = show, 0 = don't show)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60992#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list