easy-digital-downloads icon indicating copy to clipboard operation
easy-digital-downloads copied to clipboard

Notification mail icon showing red dot notification span when nothing has changed

Open arraypress opened this issue 3 years ago • 4 comments

Bug Report

Expected behavior

I expect the red dot to show when an actual notification (or announcement) is available.

Actual behavior

The notification dot shows regardless of announcements (or when empty). Somewhat confusing, but maybe a clever marketing technique? :)

Information (if a specific version is affected):

PHP Version: 7.4

EDD Version (or branch): 3.1

WordPress Version: 6.1

Any other relevant information:

arraypress avatar Oct 07 '22 14:10 arraypress

The notification dot shows until all messages are dismissed. Do you have messages in there that are not dismissed?

cklosowski avatar Oct 07 '22 15:10 cklosowski

Nope, no notifications at all. Empty in fact...

I had a feeling it might be caching, but I would to dig deeper into that JSON that is used to handle the notifications to see why this is showing. It's not just been on my own site though, it was on a few other client sites...

arraypress avatar Oct 07 '22 15:10 arraypress

What I see:

Screenshot 2022-10-07 at 18 36 11

And then this:

Screenshot 2022-10-07 at 18 36 17

arraypress avatar Oct 07 '22 15:10 arraypress

Thanks for the screenshots and details. I'll see if we can somehow reproduce and see what that's happening. If there are no notifications (either expired, or are dismissed) then the red dot shouldn't show.

cklosowski avatar Oct 07 '22 16:10 cklosowski