Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#33283 closed enhancement (invalid)

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

Reported by: polevaultweb's profile 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 9 years ago.
Updating empty plugins
update-core-warning.png (42.3 KB) - added by polevaultweb 9 years ago.
Warning on update-core.php
33283.diff (2.1 KB) - added by polevaultweb 9 years ago.
33283.2.diff (2.1 KB) - added by polevaultweb 9 years ago.
Refreshed patch
33283.3.diff (2.2 KB) - added by polevaultweb 8 years ago.
Escaping variable

Download all attachments as: .zip

Change History (13)

@polevaultweb
9 years ago

Updating empty plugins

@polevaultweb
9 years ago

Warning on update-core.php

@polevaultweb
9 years ago

#1 @polevaultweb
9 years ago

  • Keywords has-patch needs-testing added

#2 @DrewAPicture
9 years ago

  • Keywords needs-refresh added

Patch needs to be refreshed.

@polevaultweb
9 years ago

Refreshed patch

#3 @polevaultweb
9 years ago

  • Keywords needs-refresh removed

@DrewAPicture patch refreshed :)

#4 @polevaultweb
9 years ago

Patch still applies cleanly.

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


9 years ago

@polevaultweb
8 years ago

Escaping variable

#6 @polevaultweb
8 years ago

@chriscct7 patch updated with escaping of variable.

#7 @polevaultweb
8 years ago

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

Made redundant by [37714]

Last edited 8 years ago by SergeyBiryukov (previous) (diff)

#8 @ocean90
8 years ago

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