[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 21:03:42 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):

 == Test Report for pressing Activate during activation

 What happens if the user presses the Activation button more than once,
 i.e. while it's activating?

 Patch tested: [https://github.com/WordPress/wordpress-
 develop/pull/6732/commits/f01b3aad4d4bce32c2c206bc4255a3db7cfc5643 PR 6732
 as of this commit]

 === Steps to Test
 1. Go to Plugins > Add Plugins UI, i.e. `wp-admin/plugin-install.php`.
 2. In the search field, type `bbpress`.
 3. In its card, press and release the Activate button multiple times. What
 happens?

 Try it on 6.4.4 and 6.5.4 to compare the results.

 Also try different plugins such as WooCommerce, WPForms, Elementor, Yoast
 SEO.

 === Expected Results
 - ✅ Plugin should activate.
 - ✅ Its Welcome redirect should happen after activation.


 === 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.

 ==== Actual Results

 Tested the following plugins:

 * bbPress 2.6.9
 * BuddyPress 2.6.9
 * WooCommerce 8.9.3
 * WPForms 1.8.8.3

 ✅ Yes, they all activate.

 ✅ ❌ highly inconsistent if their config / welcome / onboarding redirect
 happens. Happened the most on 6.4.4 and rarely on 6.6 with the patch.

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


More information about the wp-trac mailing list