[wp-trac] [WordPress Trac] #47085: Site Health appear on individual sites in Multisite

WordPress Trac noreply at wordpress.org
Fri Aug 23 05:33:00 UTC 2019


#47085: Site Health appear on individual sites in Multisite
----------------------------------+----------------------------------------
 Reporter:  iandunn               |       Owner:  (none)
     Type:  enhancement           |      Status:  new
 Priority:  low                   |   Milestone:  5.3
Component:  Site Health           |     Version:  5.2
 Severity:  minor                 |  Resolution:
 Keywords:  site-health has-      |     Focuses:  administration, multisite
  patch                           |
----------------------------------+----------------------------------------
Changes (by donmhico):

 * keywords:  site-health => site-health has-patch


Comment:

 The attached patch
 [https://core.trac.wordpress.org/attachment/ticket/47085/47085.diff
 47085.diff], adds the `Site Health` `wp-admin/menu.php` if not in MS. So
 individual sites in MS won't be able to see it.

 Then it adds the `Site Health` menu in `wp-admin/network/menu.php`. It's a
 parent item since there's no "Tools" parent menu in Network admin.

 I also changed the "Status" and "Info" tabs to use `network_admin_url()`
 instead of `admin_url()` since the former will just fallback to the later
 if not in MS.

 Let me know your thoughts regarding the patch.

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


More information about the wp-trac mailing list