Open kprovance opened 8 years ago
@kprovance The TGMPA admin notice is buggy and has been for a while. We are aware and need to rethink the whole logic in combination with the various use cases of TGMPA. Unfortunately a bit more complex than it seems.
Gotcha. Obviously, I don;t know the inner workings all that well, but does this also apply to the Dismiss link? That seems to work well? Could the same logic not be applied to the X? I'm going to have to see what we did with Redux...I don't rightly recall.
The dismiss link itself is just as buggy in the current TGMPA unfortunately.
The complexity (which is currently not being handled) is a build up of:
To solve this we'd need to start 'remembering' (option/transient) which dependencies are known, which user has been notified, which user has dismissed the notice and such.
In the current planning this will be completely revised (and hopefully solved in a stable way) in TGMPA v3.
I'm a little confused on how this should actually work. There seem to be two ways to dismiss a notice. With the link provided, and the small X as the top right. Using the link, the notice goes away until it's needed again. When using the small X, the notice goes away, but comes right back on page refresh. Is that by design?
When we added this feature for Redux, the notice says closed until it's updated or needed again.