Opened 9 years ago
Closed 9 years ago
#3193 closed enhancement (fixed)
Restyle Developer Hub callout in the Codex
| Reported by: | melchoyce | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| 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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.