Opened 8 years ago
Closed 8 years ago
#3193 closed enhancement (fixed)
Restyle Developer Hub callout in the Codex
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Component: | Codex | Keywords: | |
| Cc: |
Description
The "Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!" callout in the Codex is using a pretty gnarly looking icon (on high resolution screens) and random styles. Let's grab the notice notice-info notice-alt classes from core to restyle this message. See attached mockup.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
https://codex.wordpress.org/Template:mbox is the template for the notice. I've updated it to use
notice-infostyles and the info dashicon.Looks like https://codex.wordpress.org/MediaWiki:Sitenotice is the only page using it, and
Ambox_notice.pngwas the only icon being used. The icon is passed to the template via theimageparameter. Maybe it would be cleaner to pass the dashicon class in the same way, but I don't have access to editMediaWiki:Sitenotice, and given that no other pages use the template, I think it's fine as is.