[wp-trac] [WordPress Trac] #32812: Customizer Menus: Escaping inconsistencies
WordPress Trac
noreply at wordpress.org
Mon Jul 6 07:01:58 UTC 2015
#32812: Customizer Menus: Escaping inconsistencies
--------------------------+------------------------------
Reporter: swissspidy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Comment (by westonruter):
Yes. `sanitize_text_field()` will strip tags, whereas `esc_html()` turns
them into HTML entities.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32812#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list