WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#9830 closed defect (bug) (fixed)

Widgets "Title" field accept HTML tags - don't convert it into plain text

Reported by: Simek Owned by: azaozz
Milestone: 2.8 Priority: low
Severity: minor Version: 2.8
Component: Widgets Keywords: needs-patch
Focuses: Cc:

Description

If we enter HTML code inside any widget "Title:" field tags are recognize as HTML not as plain text and text on the widget title bar is stylized. Style and tags are missing after widgets page refresh.

On the main blog page tags are invisible, but text is not stylized.

In my opinion HTML tags should be converted into plain text. Everything we entered after "<" WP takes as HTML.

Preview: http://i39.tinypic.com/b54nqc.png

Change History (2)

comment:1 azaozz5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [11349]) Strip tags and convert < > to entities when appending widget title, fixes #9830

comment:2 ryan5 years ago

  • Milestone changed from Future Release to 2.8
Note: See TracTickets for help on using tickets.