[wp-trac] [WordPress Trac] #60992: Plugin management: AJAX plugin activation consequences
WordPress Trac
noreply at wordpress.org
Thu Apr 25 21:52:57 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 alanfuller):
Replying to [comment:73 kevinwhoffman]:
> If the "Refresh Now" button accomplishes the redirect just by triggering
the activation hook on the next page load, then we still have an issue of
user control. Say the user does not refresh the page and instead decides
they are going to view their Posts, Pages, or any other screen in WP
Admin. That choice is going to trigger the redirect into an onboarding
screen they explicitly chose not to visit (which is how WP 6.5.2 behaves
today). Alternatively if they do choose to "Refresh Now" then the
expectation is that the current page actually refreshes, not that it it
''might'' lead to an onboarding experience depending on which plugin was
last installed. In an attempt to halfway cater to the use of redirects, we
now have multiple situations where a user ends up somewhere they didn't
expect to go.
This is true, what the 'user' expects is when they hit 'activate' that
the plugin 'activates' which from a user persepctive includes the
onboarding experience.
But for technical reasons I don't pretend to understand we can't achieve
that as reverting is not possible.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60992#comment:76>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list