[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 20:24:34 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 WooCommerce plugins
Retesting all of the plugins from the [#comment:20 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 tested: all of the plugins in the 1st page of `woocommerce` search
results. They are listed in each test section.
* WooCommerce 8.9.3
* WooCommerce Stripe Payment Gateway 8.3.1
* Google Listings & Ads 2.7.2
* WooCommerce PayPal Payments 2.7.1
* PDF Invoices & Packing Slips for WooCommerce 3.8.3
* WooCommerce Square 4.6.2
* Essential Addons for Elementor – Best Elementor Templates, Widgets, Kits
& WooCommerce Builders 5.9.24
* Google Analytics for WooCommerce 2.1.0
* WooCommerce Shipping & Tax 2.6.0
* Payment Plugins for Stripe WooCommerce 3.3.71
* Germanized for WooCommerce 3.16.9
* Customer Reviews for WooCommerce 5.50.1
* WooPayments: Integrated WooCommerce Payments 7.7.0
* Checkout Field Editor (Checkout Manager) for WooCommerce 2.0.2
* Facebook for WooCommerce 3.2.3
* Product Feed PRO for WooCommerce by AdTribes – WooCommerce Product Feeds
13.3.3
* WooCommerce Cart Abandonment Recovery 1.2.27
* Mailchimp for WooCommerce 4.1
* Variation Swatches for WooCommerce 2.1.0
* YITH WooCommerce Wishlist 3.34.0
* FiboSearch – Ajax Search for WooCommerce 1.28.0
* Payment Plugins for PayPal WooCommerce 1.0.48
* WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping
Labels 4.5.2
* Discount Rules for WooCommerce – Create Smart WooCommerce Coupons &
Discounts 2.6.3
* Dokan – Powerful WooCommerce Multivendor Marketplace Solution – Build
Your Own Amazon, eBay, Etsy 3.11.3
* Table Rate Shipping Method for WooCommerce by Flexible Shipping 4.25.0
* Advanced Shipment Tracking for WooCommerce 3.6.6
* LiteSpeed Cache 6.2.0.1
* WooCommerce Weight Based Shipping 5.9.1
* Advanced Product Fields (Product Addons) for WooCommerce 1.6.8
* Advanced Order Export For WooCommerce 3.5.3
* Perfect Brands for WooCommerce 3.3.9
* Flexible Checkout Fields for WooCommerce – WooCommerce Checkout Manager
4.1.7
* CTX Feed – WooCommerce Product Feed Manager Plugin 6.4.36
* Variation Swatches for WooCommerce by CartFlows 1.0.8
* Booster for WooCommerce 7.2.0
=== 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 the listing.
=== Notes
* May need to reset WooCommerce
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
}}}
* How I tested:
1. Installed all of the plugins by going to Add Plugins UI, searching for
`woocommerce` and installing all plugins in the 1st page of results.
2. Activated each plugin in its card.
3. Wiped the db and reinstalled via `npm run env:install`.
4. On the Add Plugins UI: activated each plugin within its "More Details"
modal.
5. Repeated step 3.
6. On `plugins.php` (Plugins table listing): activated each plugin by
clicking its Activate link before the plugin listing.
7. Repeated step 4.
8. On `plugins.php` (Plugins table listing): activated each plugin within
its "View details" modal.
For each activation step, I noted:
* After activation, where did Core or the plugin redirect to?
* If a different page, does the browser Go Back return to the right page?
=== Actual (Re)Test Results
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:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list