cabrerahector / wordpress-popular-posts

WordPress Popular Posts - A highly customizable WordPress widget that displays your most popular posts.
https://wordpress.org/plugins/wordpress-popular-posts/
GNU General Public License v2.0
279 stars 83 forks source link

Cannot Clear Dashboard Message #243

Closed reneedobbs closed 4 years ago

reneedobbs commented 4 years ago

Cannot clear this message on the dashboard: WordPress Popular Posts: It seems your site is popular (great!) You may want to check these suggestions to make sure your website's performance stays up to par.

To Reproduce Steps to reproduce the behavior:

  1. Go to WordPress dashboard
  2. See message
  3. No way to clear it.

Expected behavior Should have an "X" or something to clear the message.

Screenshots WP Popular Posts Message

Environment:

cabrerahector commented 4 years ago

Hi @reneedobbs,

That's not a bug. It's the intended behavior.

Currently only site admins can dismiss the notice because it's performance related, an important aspect for the site's health: if you don't configure your website to make sure WPP doesn't it slow down in the (near) future there's a high probability that your site's performance will take a hit, hence the reason why the plugin doesn't allow authors/editors/subscribers to hide the notice.

With that being said, there's a workaround to hide the performance notice:

Again, I cannot stress enough the importance of following the performance suggestions as noted by the alert bar. Please make sure to talk to your site's administrator about this notice to make sure your site continues to operate smoothly in the future when using the WPP plugin.

cabrerahector commented 4 years ago

As a sidenote, I might change this behavior in a future release allowing administrators and editors to hide the notice but for the time being the workaround described above is the way to go if your WordPress account doesn't have admin capabilities.