[wp-trac] [WordPress Trac] #11515: Admin needs standardized way of handling messages (notices) displayed to the user
WordPress Trac
noreply at wordpress.org
Tue May 19 15:01:57 UTC 2015
#11515: Admin needs standardized way of handling messages (notices) displayed to
the user
------------------------------------------+-----------------------------
Reporter: filosofo | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Administration | Version: 3.0
Severity: normal | Resolution:
Keywords: error-message admin-messages | Focuses:
------------------------------------------+-----------------------------
Comment (by jdgrimes):
Replying to [comment:18 obenland]:
>
> Given the size of the patch, I thought I'd test the waters with small
gist, outlining the essentials of what I had in mind:
> '''https://gist.github.com/obenland/5173811'''
I just want to note that there is a bug in the gist. The transient should
be deleted only after the messages are displayed, not when they are
retrieved. (See my
[https://gist.github.com/JDGrimes/809f180d7f3893901641/revisions
revision].) Otherwise the list of messages might get retrieved and never
displayed. For example, if there was an Ajax request, the messages would
be deleted, but not dispalyed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/11515#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list