[wp-trac] [WordPress Trac] #49374: Use get_post_states to denote special pages on the added menu item accordions
WordPress Trac
noreply at wordpress.org
Mon Mar 16 01:30:29 UTC 2020
#49374: Use get_post_states to denote special pages on the added menu item
accordions
-------------------------------------------------+-------------------------
Reporter: garrett-eclipse | Owner:
| SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.4
Component: Menus | Version: 5.3
Severity: normal | Resolution: fixed
Keywords: has-patch has-screenshots needs- | Focuses: ui,
testing | administration
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"47458" 47458]:
{{{
#!CommitTicketReference repository="" revision="47458"
Menus: When adding a label for special pages in `wp_setup_nav_menu_item()`
strip all HTML tags, as the label is escaped on output.
Follow-up to [47211], [47213].
Props stiofansisland.
Fixes #49374.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49374#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list