[wp-trac] [WordPress Trac] #47085: Site Health appear on individual sites in Multisite
WordPress Trac
noreply at wordpress.org
Tue Aug 27 10:15:23 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 |
----------------------------------+----------------------------------------
Comment (by donmhico):
Thanks for the feedback @iandunn. I've attached a new patch,
[https://core.trac.wordpress.org/attachment/ticket/47085/47085.2.diff
47085.2.diff], that creates a new `Tools` parent menu in Network admin.
But since for now, `Site Health` is the only child for the `Network >
Tools` and I don't have any idea what content `network/tools.php` will
have, I just directly use `site-health.php` on the `Tools` menu
declaration, instead of creating a `tools.php`.
Also, I placed the `Network > Tools` above `Network > Settings` to make it
consistent with how the menu in single WP is arranged.
Lastly, I used `$menu[24]` for the `Network > Tools`. I know that the menu
uses increments of `5`. However, I'm not sure if modifying `Network >
Settings` from `$menu[25]` to `$menu[30]` so we can use `$menu[25]` for
the `Network Tools` menu won't break anything.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47085#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list