Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 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
Priority: low Milestone: 2.8
Component: Widgets Version: 2.8
Severity: minor Keywords: needs-patch
Cc: Focuses:

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)

#1 @azaozz
17 years ago

  • Resolutionfixed
  • Status newclosed

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

#2 @ryan
17 years ago

  • Milestone Future Release2.8
Note: See TracTickets for help on using tickets.