-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: Test for pointless dashboard messages #814
Comments
How would a tool like Plugin Check be able to decide whether a dashboard message is "pointless" or not? These rules sound a bit arbitrary. Why should notices only be displayed to administrators? They could be relevant for all types of users. If you are looking to define such rules, then this is best done elsewhere, like a Trac ticket. Plugin Check can then implement any rules that were defined, but this repo is not a good place to initially discuss such rules. You might also want to check out https://github.com/WordPress/wp-feature-notifications/. |
Sure, there are informational messages, but in such cases, its on the administaror, who installed the plugin to decide if and which messages is viewable to the other roles. Thank you for the link to the feature plugin, but this issue of about all those plugins out there, who bloat the wordpress dashboard with adds for their pro-versions. |
You are asking for PCP to check if plugins violate specific rules around admin notices. Such rules currently do not exist and first need to be discussed and defined. As I said, this repository is not the right place to define such rules.
Again, these are arbitrary rules. I suggest opening a Trac ticket do discuss such rules. |
Its not arbitrary, its a matter of rule 11: And in case of the sample above, its mentioned also: Advertising within the WordPress dashboard should be avoided, as it is generally ineffective. |
Some plugins display messages in the dashboard. These often refer to pro versions or the installation of additional plugins, like this:
However, these messages are pointless if the plugin is used on a multisite and/or the users in the backend who see this message are not able to install new plugins.
I would therefore suggest adding a new rule and having it tested:
On single installations and on multisite:
If dashboard messages are displayed, then only to users with the administrator role.
If on multisite:
If dashboard messages are displayed, then only to users with the administrator role, provided they also have the capability to install plugins.
If a message is purely informative for users with a lower role on the current wordpress instance, the administrator must have a setting to turn this function on or off.
If such rules do not exist, there should be a warning message.
The text was updated successfully, but these errors were encountered: