[wp-trac] [WordPress Trac] #46651: Site Health: no room for the admin notices

WordPress Trac noreply at wordpress.org
Tue Mar 26 09:44:16 UTC 2019


#46651: Site Health: no room for the admin notices
-------------------------+-------------------------------------------------
 Reporter:  afercia      |      Owner:  (none)
     Type:  defect       |     Status:  new
  (bug)                  |
 Priority:  normal       |  Milestone:  5.2
Component:               |    Version:  trunk
  Administration         |   Keywords:  has-screenshots needs-design site-
 Severity:  normal       |  health
  Focuses:               |
-------------------------+-------------------------------------------------
 The new design for the Site Health pages doesn't take into account the
 admin notices.

 This is how a normal admin notice gets displayed:

 [[Image(http://cldup.com/es0xsByATl.png)]]

 This is how the "update nag" gets displayed:

 [[Image(http://cldup.com/C10XvekPZU.png)]]

 Worth reminding:
 - notices are printed out via PHP at the top of the page
 - normal notices are then moved via JavaScript below an element with class
 `.wp-header-end` if any, otherwise below the first `h1` or `h2`
 - notices with a CSS class `inline` aren't moved

 Possible option: use an `<hr class="wp-header-end">` like in other admin
 pages. However, given the current design and CSS, this would work only if
 the notices are moved after the whole header, including the navigation.
 Example:

 [[Image(http://cldup.com/pCNGM3LSOq.png)]]

 See #46650 and #46573

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46651>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list