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

WordPress Trac noreply at wordpress.org
Tue Jun 4 13:15:04 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 hellofromTonya):

 Replying to [comment:5 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.

 Plugins with certain checks will not redirect to their configuration on
 page refresh / reload, as Colin noted.

 Tested Google Listings & Ads plugin: Does its configuration / onboarding
 does autoload?
 * 6.5.4 RC1: Yes ✅
 * 6.4.x and older: Yes ✅
 * 6.5.3: No ❌
 * [https://github.com/WordPress/wordpress-develop/pull/6717 PR 6717
 patch]: No ❌

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


More information about the wp-trac mailing list