w3guy / persist-admin-notices-dismissal

Simple plugin that persists dismissal of admin notices across pages in WordPress dashboard.
http://w3guy.com/wordpress-admin-notices-dismissible/
90 stars 22 forks source link

Multiple notices and only first selected #6

Closed afragen closed 8 years ago

afragen commented 8 years ago

I've been hacking on this all day.

If there are 2 or more notices. Selecting that last notice seems to only get the data from the first notice in $_POST. What this means is that selecting the second notice makes the first notice dismiss.

afragen commented 8 years ago

I think I fixed this and commit on it's way.

afragen commented 8 years ago

Should be fixed here, https://github.com/collizo4sky/persist-admin-notices-dismissal/commit/5f1d139394880b9a8a4ae2b5d4328b323eeb1cb3

afragen commented 8 years ago

I really have to learn javascript. 😛