Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Notice in admin section does not make much sense for some users #18

@siliconforks

Description

@siliconforks

If there are plugins with unmet dependencies, a notice is displayed in the admin section that says: "There are additional plugins that must be installed. Go to the Dependencies install page."

notice

This notice is displayed even for users who do not have the capability to install plugins. For example, the notice is displayed even for users with the Subscriber role. The notice does not make much sense for such users because they can't actually do anything that the notice suggests. If they click on the "Dependencies" link, they just get a page with an error message (which is to be expected, because they do not have the required capability).

I think it would be better to do either of the following:

  1. I think it would be best simply to not display the notice at all if the user does not have the capability to install plugins.
  2. If you still want to display a notice to such users, it would be best to reword it (for those users) to something like "There are additional plugins that must be installed. Please notify the site administrator." This is similar to the wording currently used in WordPress core when there is an update available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions