Melapress / admin-notices-manager

Admin notices manager is a WordPress plugin that allows you to better manage the admin notices in the WordPress dashboard so you read them at your own convenience and never miss an important message.
https://www.wpwhitesecurity.com/wordpress-plugins/admin-notices-manager/
Other
0 stars 0 forks source link

Settings page and segregation of different types of admin notices #18

Closed robert81 closed 3 years ago

robert81 commented 3 years ago

We need to allow the user to be able to specify what the plugin should do with the different type of admin notices. To do this we need a settings page in the WordPress Settings menu in the dashboard.

The plugin's menu entry should be: Admin Notices

In the page we should have the following:

Title: Admin notices settings Help text: Use the settings in this page to configure how the plugin should handle different types of admin notices. Refer to the introduction to admin notices for a detailed explanation about the different types of admin notices available in WordPress. Settings:

Sub title: Standard admin notices

Success level notices [ ] hide from the WordPress dashboard and show them in the plugin's popup <-default [ ] hide them completely (do not show in the WordPress dashboard or in the plugin's popup) [ ] do not do anything (they will appear on the WordPress dashboard as per usual)

Error level notices [ ] hide from the WordPress dashboard and show them in the plugin's popup <-default [ ] hide them completely (do not show in the WordPress dashboard or in the plugin's popup) [ ] do not do anything (they will appear on the WordPress dashboard as per usual)

Warning level notices [ ] hide from the WordPress dashboard and show them in the plugin's popup <-default [ ] hide them completely (do not show in the WordPress dashboard or in the plugin's popup) [ ] do not do anything (they will appear on the WordPress dashboard as per usual)

Information level notices [ ] hide from the WordPress dashboard and show them in the plugin's popup <-default [ ] hide them completely (do not show in the WordPress dashboard or in the plugin's popup) [ ] do not do anything (they will appear on the WordPress dashboard as per usual)

Sub title: non-standard admin notices Help text: These type of admin notices are typically created by third party plugins and themes and do not have any severity level. Use the below settings to configure how the plugin should handle these type of admin notices.

No level notices [ ] hide from the WordPress dashboard and show them in the plugin's popup <-default [ ] hide them completely (do not show in the WordPress dashboard or in the plugin's popup) [ ] do not do anything (they will appear on the WordPress dashboard as per usual)

Sub title: WordPress system admin notices Help text: These type of admin notices are used by WordPress to advise you about the status of specific actions, for example to confirm that the changed settings were saved, or that a plugin was successfully installed. It is recommended to let these admin notices appear in the WordPress dashboard.

WordPress system admin notices [ ] hide from the WordPress dashboard and show them in the plugin's popup [ ] do not do anything (they will appear on the WordPress dashboard as per usual) <-default

martinkrcho commented 3 years ago

/cib

create-issue-branch[bot] commented 3 years ago

Branch issue-18-Settings_page_and_segregation_of_different_types_of_admin_notices created!