[wp-trac] [WordPress Trac] #46872: Bulk Actions underneath plugins list perform Update when Deactivate chosen
WordPress Trac
noreply at wordpress.org
Tue Apr 16 00:44:11 UTC 2019
#46872: Bulk Actions underneath plugins list perform Update when Deactivate chosen
-------------------------------------+---------------------------------
Reporter: clayray | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Quick/Bulk Edit | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: ui, administration
-------------------------------------+---------------------------------
Changes (by garrett-eclipse):
* keywords: needs-patch dev-feedback => has-patch needs-testing
Comment:
Thanks @subrataemfluence I appreciate the logic suggestions for for
`current_action` but I feel we can accomplish this even simpler by
applying a unique `name` attribute to the submit inputs as that will then
make available to the $_REQUEST object which submit button was actually
used.
With that in mind can you test my simple patch
[https://core.trac.wordpress.org/attachment/ticket/46872/46872.diff
46872.diff].
It should also avoid submitting action1 when action2 isn't present but the
doaction2 button is clicked.
Thoughts?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46872#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list