[wp-trac] [WordPress Trac] #61269: Plugin Dependencies: Add filter to restore auto-redirect after plugin activation

WordPress Trac noreply at wordpress.org
Thu May 23 19:52:33 UTC 2024


#61269: Plugin Dependencies: Add filter to restore auto-redirect after plugin
activation
-------------------------------------------------+-------------------------
 Reporter:  hellofromTonya                       |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.5.4
Component:  Upgrade/Install                      |     Version:  6.5
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing needs-dev-note has-    |     Focuses:
  patch has-testing-info                         |  administration
-------------------------------------------------+-------------------------

Comment (by afragen):

 == Test Report for WooCommerce
 === Description
 This report validates whether the indicated patch works as expected.

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/6606

 Docker local environment used.
 Patch applied.
 Docker environment built and initiated.

 === Environment
 - WordPress: 6.6-alpha-57778-src
 - PHP: 8.2.19
 - Server: nginx/1.25.5
 - Database: mysqli (Server: 8.0.37 / Client: mysqlnd 8.2.19)
 - Browser: Safari 17.5
 - OS: macOS
 - Theme: Twenty Twenty-Four 1.1
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.1.0
   * WooCommerce 8.9.1

 === Actual Results for Test in Add Plugins UI
 Needed to refresh page after making modification to woocommerce.php

 After activation:

 ✅ the "Refresh now" admin notice and button do not appear.
 ✅ auto-redirects to WooCommerce's onboarding wizard.

 === Actual Result for Test in Modal
 After modification to woocommerce.php and a page refresh the modal
 appeared in full screen.
 After a second refresh the modal appeared normally.

 After activation:

 ✅ at the bottom of the modal, the "Refresh now" admin notice and button
 do not appear.
 ✅ auto-redirect to WooCommerce's onboarding wizard.


 === Additional Notes
 - Any additional details worth mentioning.

 After updating woocommerce.php to add the filter. I needed to refresh the
 page at least once.
 Modal loaded in full screen after one reload and normally after second
 reload.

 Aside from this, the patch works.

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


More information about the wp-trac mailing list