[wp-trac] [WordPress Trac] #61319: Plugin Dependencies: Change AJAX activation handler to restore auto-redirect after plugin activation
WordPress Trac
noreply at wordpress.org
Thu May 30 14:43:47 UTC 2024
#61319: Plugin Dependencies: Change AJAX activation handler to restore auto-
redirect after plugin activation
-----------------------------------------------+---------------------------
Reporter: hellofromTonya | Owner:
| hellofromTonya
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.5.4
Component: Upgrade/Install | Version: 6.5
Severity: normal | Resolution: fixed
Keywords: has-patch has-testing-info commit | Focuses:
| administration
-----------------------------------------------+---------------------------
Changes (by hellofromTonya):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"58250" 58250]:
{{{
#!CommitTicketReference repository="" revision="58250"
Upgrade/Install: Restore Activate button's href native behavior.
Restores the Activate button's `href` native behavior by changing the AJAX
activation handler introduced in 6.5.0. It restores the pre-6.5 behavior
of clicking the "Activate" button, i.e. navigates the user to the button's
`href` (i.e. to the `plugins.php` UI).
Why?
Feedback was given after shipping [57545] in 6.5.0 (but was unknown during
the development and testing cycles) revealed significant impacts for
plugins who's users valued the onboarding / configuration experiences.
6.5.3's [58081] and [58083] added a new user action / step to the
workflow. Though helpful, it did not fully resolve the impacts.
For the minor, this commit seeks to restore only the "Activate" button's
`href` pre-6.5 native behavior to resolve the regression.
The next phase of the Add Plugins workflow can then continue in a major
release to gain the benefits of a full major to move it from ideation
through the development phases. (See #61040). The questions of redirect,
how / should configuration be in the workflow, etc. can best be explored
and experimented with in a major.
Follow-up to [57545], [58081], [58083].
Props costdev, jorbin, hellofromTonya, afragen, kevinwhoffman, azaozz,
adrianduffell, beaulebens, hmbashar, illuminea, ironprogrammer, jjj, lopo,
louiswol94, mikachan, nerrad, mukesh27, peterwilsoncc, pooja1210, smub,
swissspidy.
Fixes #61319.
See #22316, #60992.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61319#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list