WordPress.org

Make WordPress Core

Opened 23 months ago

Closed 11 months ago

Last modified 11 months ago

#33283 closed enhancement (invalid)

Display warning on plugins page when performing a bulk action on no selected plugins

Reported by: polevaultweb Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.2
Component: Plugins Keywords: has-patch needs-testing
Focuses: Cc:

Description

  • Go to /wp-admin/plugins.php
  • Do not select any plugins
  • Bulk action - activate, delete, deactivate
  • Click apply
  • Page refreshes - nothing happens
  • Go to /wp-admin/plugins.php
  • Bulk action - update
  • Click apply
  • Plugin updater updates an empty phantom plugin

Currenlty the behaviour for 'update-selected' action is different from the others when no plugins are selected. But for all these actions we should show a warning like on the update-core.php page.

Attachments (5)

update-phantom-plugin.png (35.3 KB) - added by polevaultweb 23 months ago.
Updating empty plugins
update-core-warning.png (42.3 KB) - added by polevaultweb 23 months ago.
Warning on update-core.php
33283.diff (2.1 KB) - added by polevaultweb 23 months ago.
33283.2.diff (2.1 KB) - added by polevaultweb 20 months ago.
Refreshed patch
33283.3.diff (2.2 KB) - added by polevaultweb 14 months ago.
Escaping variable

Download all attachments as: .zip

Change History (13)

@polevaultweb
23 months ago

Updating empty plugins

@polevaultweb
23 months ago

Warning on update-core.php

@polevaultweb
23 months ago

#1 @polevaultweb
23 months ago

  • Keywords has-patch needs-testing added

#2 @DrewAPicture
21 months ago

  • Keywords needs-refresh added

Patch needs to be refreshed.

@polevaultweb
20 months ago

Refreshed patch

#3 @polevaultweb
20 months ago

  • Keywords needs-refresh removed

@DrewAPicture patch refreshed :)

#4 @polevaultweb
19 months ago

Patch still applies cleanly.

This ticket was mentioned in Slack in #core by chriscct7. View the logs.


17 months ago

@polevaultweb
14 months ago

Escaping variable

#6 @polevaultweb
14 months ago

@chriscct7 patch updated with escaping of variable.

#7 @polevaultweb
11 months ago

  • Resolution set to invalid
  • Status changed from new to closed

Made redundant by [37714]

Last edited 11 months ago by SergeyBiryukov (previous) (diff)

#8 @ocean90
11 months ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.