[wp-trac] [WordPress Trac] #60992: Plugin management: AJAX plugin activation consequences
WordPress Trac
noreply at wordpress.org
Wed Apr 17 14:28:42 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 |
-------------------------------------------------+-------------------------
Comment (by jason_the_adams):
Hello folks! ๐
Chiming in here from the StellarWP side (though not necessarily
representing everyone's opinion). A number of our products rely on the
redirect for onboarding our products. I certainly appreciate the nuance of
the "feature" as it's really just the best point for plugins to do that,
but is by no means a first-class feature of WordPress and therefore has
interesting side-effects given the scenario in which the plugin is
installed.
For that reason, and since the admin-side will be changing in the not too
distant future, it makes most sense to me for WordPress to have a first-
class way of registering an onboarding URL with WP. That way, WP can
determine when and how it's presented to the user based on the
installation context. If the "Activate" button is clicked, for example,
then the user can be redirected โย or perhaps be replaced with a new "Setup
{Plugin Name}" button. If WP-CLI, then perhaps it shows up as "Setup
{Plugin Name}" beneath the "Updates" in the left-hand menu.
I'm just riffing, of course. I don't think WP needs to provide a framework
for the onboarding. I think it could simply start as registering an
onboarding URL that an admin is intended to go to once.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60992#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list