[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
Tue Sep 19 07:43:38 UTC 2017


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

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


Comment:

 In [changeset:"41392"]:
 {{{
 #!CommitTicketReference repository="" revision="41392"
 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.

 Merge of [41260] to the 4.8 branch.

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

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


More information about the wp-trac mailing list