[wp-trac] [WordPress Trac] #61330: Plugin Dependencies: Refresh plugin-install.php instead of redirecting on activation
WordPress Trac
noreply at wordpress.org
Mon Jun 10 18:20:56 UTC 2024
#61330: Plugin Dependencies: Refresh plugin-install.php instead of redirecting on
activation
-------------------------------------------------+-------------------------
Reporter: jorbin | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.6
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing has- | Focuses:
testing-info 2nd-opinion | administration
-------------------------------------------------+-------------------------
Comment (by hellofromTonya):
== (Re)Test Report for single plugins with auto-redirect (no deps)
Retesting all of the plugins from the [#comment:21 previous test report]
with the new changes from the patch.
Patch tested: new approach for [https://github.com/WordPress/wordpress-
develop/pull/6732/commits/f01b3aad4d4bce32c2c206bc4255a3db7cfc5643 PR 6732
as of this commit]
Plugins retested, all of which have auto-redirects after activation:
* All in One SEO (AIOSEO) - v 4.6.4
* BuddyPress - v 12.5.0
* Donation Forms by Charitable - v 1.8.1.7
* Duplicator – Migration & Backup Plugin - v 1.5.9
* Easy Digital Downloads (EDD) - v 3.2.12
* Event Tickets and Registration - v 5.10.0
* ExactMetrics - v 7.27.0
* Gallery Plugin for WordPress - Envira Photo Gallery - v 1.8.12
* Giveaways and Contests by RafflePress - v 1.12.14
* MonsterInsights - v 8.27.0
* NextGEN Gallery by Imagely - v 3.59.3
* OptinMonster - v 2.16.2
* Paid Membership Pro - v 3.0.4
* SearchWP Live Ajax Search - v 1.8.2
* Smash Balloon Social Photo Feed - v 6.3.1
* Smash Balloon Social Post Feed - v 4.2.5
* Stripe Payment Forms by WP Simple Pay - v 4.10.0
* Sugar Calendar - v 3.0.0
* The Event Calendar - v 6.5.0.1
* Website Builder by SeedProd - v 6.17.4
* WPForms Lite - v 1.8.8.3
* WP Mail SMTP - v 4.0.1
* Yoast SEO - v 22.8
=== Environment
- OS: macOS
- Web Server: nginx
- PHP: 7.4
- WordPress: 6.6 `trunk` with the patch applied
- Browser: Firefox 126.0
- Theme: default
- Plugins: See above.
=== Notes
My workflow in these tests:
I did not retest on 6.4.4 or 6.5.4, as I already did those baselines in
[#comment:21 previous test report].
Tested 6.6 with the PR applied:
1. Navigated to the Add Plugins UI.
2. Typed the name of the plugin the search box.
3. Install > Activate using the plugin's card.
4. After redirect to plugin's experience, clicked the browser's Go Back
button, which returned me to the Add Plugins UI screen.
5. Clicked the Go Back again to return to the `plugins.php` screen.
6. Deactivated the plugin.
7. Activated the plugin.
8. After redirect to plugin's experience, clicked the browser's Go Back
button, which returned me to `plugins.php` screen.
9. Deactivated the plugin.
10. Clicked the "View details" click.
11. Activated the plugin in the modal.
12. After redirect to plugin's experience, clicked the browser's Go Back
button, which returned me to `plugins.php` screen.
13. Deactivated the plugin.
14. Navigated to the Add Plugins UI.
15. Searched again for the plugin.
16. In the plugin's card, clicked the "View Details" click.
17. In the modal, clicked the Activate button.
18. After redirect to plugin's experience, clicked the browser's Go Back
button, which returned me to Add Plugins UI screen.
19. Clicked Go Back again to return to `plugins.php` screen.
20. Deactivated and deleted the plugin.
=== Actual Results for Test 2: a plugin with autoredirect but no
dependencies
For all 4 workflows:
* ✅ After activation, the plugin's setup wizard should load.
* ✅ In your browser, using its "Go back" arrow or button should (in one-
click) return you to the Add Plugins UI.
* ✅ Upon returning to the Add Plugins UI, the plugin's status should show
Active.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61330#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list