[wp-trac] [WordPress Trac] #43963: Add admin body class for multisite blog ID and network admin context
WordPress Trac
noreply at wordpress.org
Tue Jun 26 17:05:06 UTC 2018
#43963: Add admin body class for multisite blog ID and network admin context
----------------------------+----------------------------------------
Reporter: dryanpress | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: minor | Resolution:
Keywords: 2nd-opinion | Focuses: administration, multisite
----------------------------+----------------------------------------
Changes (by jeremyfelt):
* keywords: => 2nd-opinion
Comment:
Hi @dryanpress, thanks for opening this ticket and taking time to discuss
in office hours today.
I'm in the middle on whether or not this belongs as part of core or should
remain as plugin/theme code. There is a likelihood that it would be useful
for people customizing the admin.
As discussed in chat, `.network-admin` exists for the network admin and
`.wp-admin` exists for all admin pages. We can use that to determine site
vs network. The larger question is how to identify an individual site.
`.site-#` would be simple, though also seems like something that may
belong as a front-end class or per-row in the sites list table. I
suggested `.site-#-admin`, though I'm not sure if that's confusing.
I'm hoping some others will chime in with feedback here around naming. :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43963#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list