Opened 13 years ago
Closed 13 years ago
#12864 closed defect (bug) (fixed)
Nav Menus: while item descriptions are strip_tags()'ed, they aren't wptexturize()'d
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Menus | Keywords: | has-patch |
Focuses: | Cc: |
Description
#12544 adds strip_tags() to all item descriptions in the nav menus admin. However the descriptions still leak out if apostrophes are in the content, breaking it out of the hidden input element.
Patch turns the item descriptions and attribute titles into filters and runs both strip_tags() and wptexturize() (which converts plain characters into formatted html entities) on them.
Attachments (3)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Refreshed patch. Note that get_term_field() runs all of the term_description filters.