WordPress.org

Make WordPress Core

Opened 7 weeks ago

Last modified 7 weeks ago

#47977 new defect (bug)

some of the typo mistakes in plugin menu & update related small correction in "bulk action selector top"

Reported by: sonali86 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: administration Cc:
PR Number:

Description

Steps to reproduce behaviors:

Issue 1:

  1. There are 3 inactive plugins which show under an Active tab.
  2. Now I made the "Classic Editor" plugin deactivate.
  3. it should be shown under "Recently deactivate" tab. (we need to change tab name)

Issue 2:

  1. in plugin menu, we should use one label for the nonactive plugin ( deactivated or inactive). in somewhere it shows deactivate and somewhere it shows inactive.
  2. Also, need to change in "Bulk Actions" dropbox menu.

Issue 3:

  1. When all plugins are updated then there is no need to display "Update action" in "Bulk Actions" dropbox menu because it confuses the person OR There should display some proper message.

Screenshots:
https://www.dropbox.com/s/9h4yh6dlo7xe4em/plugin%20menu.png --- issue 1
https://www.dropbox.com/sh/oyixvjhdf92lpit/AAB8XIHD68YeSmCMvJ6w9cC-a --- Issue 2

Change History (2)

#1 @mukesh27
7 weeks ago

  • Component changed from General to Plugins
  • Focuses administration added
  • Version trunk deleted

#2 @knutsp
7 weeks ago

Hello @sonali86 and welcome to Trac!

Thank you for the ticket.

Issue 1: When a/some plugin is deactivated, it/they do immediately count as "Recently Active" tab and shows up there if the tab is selected. This tab name is also correct. "Deactivated" (a verb) should only be used to refer to the last action only. After being deactivated in an action it's state is Inactive (an adjective). States and actions should not necessarily be the same words.

Issue 2: Same as above. To activate or deactivate are verbs describing an action, to be made or have just been made. After the action has happened, they have state Active or Inactive. This is correct.

Issue 3: This could be an enhancement. This should then also be checked for "Deactivate", "Activate" and "Delete" actions. I also apply to all list tables with bulk actions, and they should behave in a similar way. New helper methods for all bulk actions, to check if needed to be shown, should be created in WP_List_Table class. But even more important, for clarity, is to make the "Apply" button inactive when no bulk action as selected (yet). I think there may be a ticket for that somewhere.

Note: See TracTickets for help on using tickets.