[wp-trac] [WordPress Trac] #60992: Plugin management: AJAX plugin activation consequences
WordPress Trac
noreply at wordpress.org
Thu Apr 18 19:36:37 UTC 2024
#60992: Plugin management: AJAX plugin activation consequences
-------------------------------------------------+-------------------------
Reporter: jeherve | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.5.3
Component: Plugins | Version: 6.5
Severity: normal | Resolution:
Keywords: has-patch needs-testing has- | Focuses:
testing-info needs-design-feedback |
-------------------------------------------------+-------------------------
Comment (by afragen):
Instead of yet another plugin header, since the method of initiating these
setup redirects is via the `register_activation_hook()` function, perhaps
this function can be expanded to include a URL as a passed parameter? Such
as
{{{
register_activation_hook( $file, $callback, $url = '' )
}}}
Perhaps this would be an associative array like `array( 'woocommerce' =>
<redirect URL> )` then a method of loading each ensuring that the redirect
URL is opened.
Just thinking out load.
We really should create a ticket for any onboarding solutions as this
would be an enhancement.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60992#comment:54>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list