[wp-trac] [WordPress Trac] #41596: New Text Widget recognizes HTML but does not render it in the front end

WordPress Trac noreply at wordpress.org
Thu Aug 17 23:36:56 UTC 2017


#41596: New Text Widget recognizes HTML but does not render it in the front end
---------------------------------------------+--------------------------
 Reporter:  mrfoxtalbot                      |       Owner:  westonruter
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.8.2
Component:  Widgets                          |     Version:  4.8
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  ui
---------------------------------------------+--------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41260"]:
 {{{
 #!CommitTicketReference repository="" revision="41260"
 Widgets: Prevent visual Text widget from decoding encoded HTML.

 Also apply `the_editor_content` filters on widget `text` with
 `format_for_editor()` as is done for the post editor.

 Amends [40631].
 Props westonruter, azaozz.
 See #35243.
 Fixes #41596.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41596#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list