[wp-trac] [WordPress Trac] #58361: Passing 'none' as 'menu_icon' to 'register_post_type' is not working correctly
WordPress Trac
noreply at wordpress.org
Thu Oct 26 19:33:32 UTC 2023
#58361: Passing 'none' as 'menu_icon' to 'register_post_type' is not working
correctly
-------------------------------+------------------------------
Reporter: andrewleap | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 6.2.1
Severity: minor | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by andrewleap):
If more clarification is needed, search the source for:
{{{
/*
* If the string 'none' (previously 'div') is passed
instead of a URL, don't output
* the default menu image so an icon can be added to div
.wp-menu-image as background
* with CSS. Dashicons and base64-encoded
data:image/svg_xml URIs are also handled
* as special cases.
*/
}}}
Hopefully it will be clear what I'm referring to.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58361#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list