[wp-trac] [WordPress Trac] #61319: Plugin Dependencies: Change AJAX activation handler to restore auto-redirect after plugin activation
WordPress Trac
noreply at wordpress.org
Wed May 29 17:15:06 UTC 2024
#61319: Plugin Dependencies: Change AJAX activation handler to restore auto-
redirect after plugin activation
----------------------------------------+-----------------------------
Reporter: hellofromTonya | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.5.4
Component: Upgrade/Install | Version: 6.5
Severity: normal | Resolution:
Keywords: has-patch has-testing-info | Focuses: administration
----------------------------------------+-----------------------------
Comment (by hellofromTonya):
== Test Report for WooCommerce
Patch tested: https://github.com/WordPress/wordpress-develop/pull/6670
=== Environment
- OS: macOS
- Web Server: nginx
- PHP: 8.3
- WordPress: 6.5.3 with this PR applied
- Browser: Firefox 126.0
- Theme: default
- Plugins: WooCommerce 8.9.1
Note: As I've been testing and retesting, I also needed to reset the
transient in my command line tool (with the plugin not installed):
{{{
wp transient set _wc_activation_redirect 1
}}}
=== Actual Results for Test in the Add Plugins UI:
After clicking the `Activate` button:
* ✅ the "Refresh now" admin notice and button do not appear.
* ✅ auto-redirects to WooCommerce's onboarding wizard.
=== Actual Results for Test in the More Details modal:
After clicking the `Activate` button:
* ✅ at the bottom of the modal, the "Refresh now" admin notice and button
do not appear.
* ✅ auto-redirect to WooCommerce's onboarding wizard.
=== Actual Results for Test another plugin that requires the plugin you're
testing
After clicking WooCommerce's `Activate` button in the modal:
* ✅ at the bottom of the modal, the "Refresh now" admin notice and button
do not appear.
* ✅ auto-redirect to WooCommerce's onboarding wizard.
After navigating back to the Add Plugins UI:
* ✅ able to activate plugins requiring WooCommerce.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61319#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list