[wp-trac] [WordPress Trac] #46872: Bulk Actions underneath plugins list perform Update when Deactivate chosen

WordPress Trac noreply at wordpress.org
Sat Apr 13 19:10:23 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:  Plugins       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  ui, administration
--------------------------+---------------------------------
Changes (by garrett-eclipse):

 * keywords:  reporter-feedback => needs-patch


Comment:

 Hi @clayray,

 Correct me if my assumption is wrong but was the top select possibly set
 to 'Update' when you used the bottom one?

 I believe I've reproduced your issue in trunk with one clarifying nuance,
 setting the top Bulk Select action to Update and then going to use the
 bottom action.

 This seems to force the update action on undesireable plugins, even ones
 which don't have any available updates. Not sure if that overwrites them
 with what's on wp.org but if so that could replace customized code
 unnecessarily (not that you should customize plugins directly...).

 @subrataemfluence with this nuance in mind can you retest and double
 confirm for me. Simply add one step prior to your existing tests;
 1. Change the top 'Bulk Action' selector to 'Update'

 Testing with other options set in the top Bulk Action selector it seems
 you can unintentionally trigger all of them. This means you can
 accidentally trigger Delete action (thankfully there's a confirm page).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46872#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list