[wp-trac] [WordPress Trac] #45186: Admin notice jumps from above the H1 to below it when created.

WordPress Trac noreply at wordpress.org
Tue Jul 12 19:09:52 UTC 2022


#45186: Admin notice jumps from above the H1 to below it when created.
----------------------------+---------------------------------
 Reporter:  dschalk         |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  2.7
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  ui, administration
----------------------------+---------------------------------

Comment (by johnbillion):

 One concern with a new action is it would be complicated for plugins to
 maintain backwards compatibility and avoid duplicate messages at the same
 time. If a plugin added support for `admin_notices_after_title` it would
 have to retain support for the existing `admin_notices` which would
 (could?) result in a duplicate message, especially as the new hook would
 fire after the old hook.

 Aside from that I'm in favour of any attempt to prevent these headings
 from jumping around. As others have pointed out, it makes pages with a
 large amount of JavaScript very janky.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45186#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list