WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #11515, comment 20


Ignore:
Timestamp:
06/06/2014 01:03:48 AM (6 years ago)
Author:
iandunn
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11515, comment 20

    initial v1  
    11+1
    22
    3 It sucks for plugins to have to [https://meta.trac.wordpress.org/changeset/654/ jump through hoops] to make notices persist through the post/get/redirect process.
     3It sucks for plugins to have to [https://meta.trac.wordpress.org/changeset/654/ jump through hoops] to make notices persist through the post/redirect/get process.
    44
    55In some of my personal projects I've been doing essentially the same thing as Konstantin's patch. One minor tweak that I like is to [https://github.com/iandunn/admin-notice-helper/blob/master/admin-notice-helper.php#L91 group the types of messages into the same div], so that they stack cleaner. It looks better than having 2 separate divs when you end up with 2 errors on the same page.