Opened 10 years ago
Closed 10 years ago
#36754 closed enhancement (fixed)
Apply new Dashicon to Multisite
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.6 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Administration | Keywords: | has-patch has-screenshots |
| Focuses: | ui, multisite | Cc: |
Description
Back in 4.3 (see #30902) we added a new icon for Multisite.
We've never added it to WordPress core.
This patch does just that, replacing the key with the houses.
Attachments (7)
Change History (23)
#2
@
10 years ago
- Focuses ui added
- Keywords has-patch needs-screenshots added
- Milestone changed from Awaiting Review to 4.6
- Version trunk deleted
@Ipstenu You should use develop.svn.wordpress.org because you don't have to patch RTL files. These are generated by our build tools.
#4
in reply to:
↑ 3
@
10 years ago
Replying to Ipstenu:
Added images and (theoretically) the patch from the right place.
New patch looks perfect to my eyes.
#8
@
10 years ago
36754.4.diff catches .dashicons-admin-network:before as well, which is what was displaying the sidebar icon for me. I've lost track of where .icon16.icon-site is applied, but changing it there makes sense.
#9
@
10 years ago
- Owner set to jeremyfelt
- Resolution set to fixed
- Status changed from new to closed
In 37362:
#10
follow-up:
↓ 11
@
10 years ago
- Keywords commit removed
- Resolution fixed deleted
- Status changed from closed to reopened
dashicons.css is an external-ish file and shouldn't be changed in core without changing it upstream too.
The class for the new icon is .dashicons-admin-multisite and should be used for the menu instead, see 37362.patch.
#11
in reply to:
↑ 10
@
10 years ago
Replying to ocean90:
dashicons.css is an external-ish file and shouldn't be changed in core without changing it upstream too.
The class for the new icon is
.dashicons-admin-multisiteand should be used for the menu instead, see 37362.patch.
Ugh. I totally forgot about that.
Your patch seems incorrect, unless I'm reading it wrong. We do not want to change the network dashicon (in dashicons.css), we only want to implement the multisite dashicon where it was intended (in menus and such.)
#12
@
10 years ago
Nevermind; I am reading it wrong.
@jeremyfelt slipped in a new patch that changed the network icon. That should get reverted in favor of a portion of @Ipstenu's patch upstream to Github, and @ocean90's patch will rebase core for now, too.
#14
follow-up:
↓ 15
@
10 years ago
Ok. Reverted to restart as an entire changeset. :)
36754.2.diff applies the menu change, the #wpadminbar #wp-admin-bar-site-name > .ab-item:before change, and the .icon16.icon-site:before change.
Is icon16 just for back-compat?
Would ya look at that. I'm +1 on this.