[wp-trac] [WordPress Trac] #61330: Plugin Dependencies: Refresh plugin-install.php instead of redirecting on activation

WordPress Trac noreply at wordpress.org
Mon Jun 3 20:34:24 UTC 2024


#61330: Plugin Dependencies: Refresh plugin-install.php instead of redirecting on
activation
------------------------------------------------+--------------------------
 Reporter:  jorbin                              |       Owner:  (none)
     Type:  enhancement                         |      Status:  new
 Priority:  normal                              |   Milestone:  6.7
Component:  Upgrade/Install                     |     Version:
 Severity:  normal                              |  Resolution:
 Keywords:  2nd-opinion has-patch dev-feedback  |     Focuses:
                                                |  administration
------------------------------------------------+--------------------------

Comment (by costdev):

 Note that with the page refresh instead of a redirect to
 `plugins.php?action=activate...`, plugins such as Google Listings & Ads
 will no longer redirect to their onboarding as they have specific checks
 for `$_GET['action']`, `'activate' === $_GET['action']` or
 `$_POST['checked']` for bulk activation.

 This means the page refresh approach will require plugins such as this to
 change their code.

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


More information about the wp-trac mailing list