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

Real-time notices stay in the original location #1

Closed martinkrcho closed 3 years ago

martinkrcho commented 4 years ago

Admin notices added dynamically are not moved to the "Admin Notices" pop-up. We should add handling for notices added after the initial page load, for example during plugin updates. We might move only some of them or make this configurable.

We could use a timer and/or hook into some of these JavaScript events:

robert81 commented 4 years ago

We need to add a settings page for this plugin so users can specify which messages they can hide or not. We can start with a very generic setting to capture / not capture system notifications, such as the ones you mentioned above, and many others, like this:

image

The settings page should be added to the WordPress settings menu node: image

The node's title should be: Admin Notices

Text: By default the plugin does not capture system admin notices, such as those shown when a user profile is updated. Use the setting below to also capture these system notices.

Setting: [ ] Capture system admin notices.

martinkrcho commented 3 years ago

This doesn't make much sense to me any more. The system messages handling was added in #20 , but the real-time notices should probably stay as they are. If you agree, @robert81 , please close the issue.